@jswork/next-rc-components
Version:
Global react components for next.
17 lines (14 loc) • 600 B
TypeScript
type IfeTypeProps = import('@jswork/react-if-else').ReactIfElseProps;
type RcmTypeProps = import('@jswork/react-condition-manager').ReactConditionManagerProps;
type RsmTypeProps = import('@jswork/react-status-manager').ReactStatusManagerProps;
type ListTypeProps = import('@jswork/react-list').ReactListProps;
// tobe implemented by user
interface NxRcComponents {}
interface NxStatic {
$rc: {
ife: React.ComponentType<IfeTypeProps>;
rcm: React.ComponentType<RcmTypeProps>;
rsm: React.ComponentType<RsmTypeProps>;
list: React.ComponentType<ListTypeProps>;
} & NxRcComponents;
}