Dynamically replace elements based on the value of a cell.
function MyComponent(props: { foo: number,}) { return <div>{props.foo}</div>;}const comp = cell(MyComponent);<Dynamic component={comp} foo={5}/> Copy
function MyComponent(props: { foo: number,}) { return <div>{props.foo}</div>;}const comp = cell(MyComponent);<Dynamic component={comp} foo={5}/>
Dynamically replace elements based on the value of a cell.