UNPKG

react-enable

Version:

feature flags to enable and disable functionality at runtime in a react application

8 lines (7 loc) 276 B
import * as React from 'react'; export interface EnableProps { readonly feature?: string[] | string; readonly allFeatures?: string[]; children: React.ReactNode; } export declare function Enable({ feature, allFeatures, children }: EnableProps): JSX.Element | null;