A component which takes a single element from the children
array at random.
<OneOf>
{/* children */}
{[
'one',
'two',
'three',
'four',
]}
</OneOf>
children (MaybeReadonlyArray<ReactNodeWithoutNullOrUndefined>)
: The list of content from which the random N elements will be drawn. An exception will be thrown if the length of children is less thann
.