featurerequired | string | string[] | | One or more flags to match. |
children | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | PromiseLikeOfReactNode | (({ flags }: { ... }) => ReactElement<...>) | | Children will be rendered when the result is valid. |
exact | boolean | true | Match all or some flags. |
fallback | type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| PromiseLikeOfReactNode | | Renders the result is invalid. |
not | boolean | | Inverse matching, eg will be valid when no flags match. |
value | any | | Match the supplied flags to this value.
Matches all truthy values by default. |