timvir/blocks/Arbitrary

componentArbitrary

The <Arbitrary> component is a composition of an input field, button, and <Exhibit>. The children passed to this component are placed inside the <Exhibit>, and are provided with a custom React Context.

See the component documentation for details about its usage.

hookuseContext(): Context

This hook gives you access to the React Context created by the <Arbitrary> component. The context contains a seed number which you can use to initialize a pseudorandom number generator (PRNG).

typeContext