export function BWEComponent() { return ( <> <div className="row"> <p> Click on any shape to trigger a state change in the root Component. These state changes will then propagate down to its descendants as props. </p> </div> <div className="row"> <div className="col"> <Component id="trusted" src="bwe-demos.near/StateAndTrust.TrustTree" trust={{ mode: 'trusted-author' }} props={{ title: 'State across Trusted Components' }} /> </div> <div className="col"> <Component id="sandboxed" src="bwe-demos.near/StateAndTrust.TrustTree" props={{ title: 'State within Sandboxed Components' }} /> </div> </div> </> ); }