@rtbjs/use-state
Version:
`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management
11 lines (10 loc) • 370 B
TypeScript
import React from 'react';
declare const AppHoc: ({ children, companyId, apiKey, parentReduxState, isOpen, onClose, }: {
children: React.ReactElement;
companyId?: string | undefined;
apiKey?: string | undefined;
parentReduxState: string;
isOpen: boolean;
onClose: () => void;
}) => import("react/jsx-runtime").JSX.Element;
export default AppHoc;