featurerequired | string | string[] | | One or more flags to match. |
children | string | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...> | (({ flags }: { ... }) => ReactElement<...>) | | Children will be rendered when the result is valid. |
exact | boolean | true | Match all or some flags. |
fallback | string | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...> | | 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. |