The UI API uses React Context to provide the setup to your UI component with
minimal hassle. Any time you use components from the @finsemble/finsemble-ui
package, just wrap them at the top level
in with <FinsembleProvider>
and they'll automatically have all the plumbing they need to communicate with the rest of
the SmartDesktop.
<FinsembleProvider>
accepts no props.
Here's how <FinsembleProvider>
is used in the default toolbar:
ReactDOM.render(
<FinsembleProvider>
<Toolbar />
</FinsembleProvider>,
document.getElementById("Toolbar-tsx")
);