Architecture
Render prop pattern
Accept a function that renders caller-defined markup from supplied data.
Formal Syntax & Structure
react syntaxreact
<DisclosureView render={view => <p>{String(view.open)}</p>} />Working Example
Example Snippetreact
Call the render function with explicit state.