Skip to content

GateProps

Defined in: src/react/index.tsx:273

Props for Gate.

Type Parameter Default type
F extends string string
Property Type Description Defined in
amount? number Units about to be used (numeric features). Default 1. src/react/index.tsx:276
children? ReactNode | ((state) => ReactNode) Content when allowed, or a render function receiving the state. src/react/index.tsx:282
fallback? ReactNode Rendered when not allowed. Default nothing. src/react/index.tsx:278
feature F - src/react/index.tsx:274
loading? ReactNode Rendered while the data loads. Default nothing. src/react/index.tsx:280