@cainiaofe/cn-ui-m
Version:
13 lines (12 loc) • 545 B
TypeScript
import './index.scss';
import React from 'react';
import { CnFormLayoutProps, IFormLayoutContext } from './types/form-layout';
export { CnFormLayoutProps };
export declare const FormLayoutDeepContext: React.Context<IFormLayoutContext>;
export declare const useFormLayout: () => IFormLayoutContext;
type Props = React.FC<React.PropsWithChildren<CnFormLayoutProps>> & {
useFormLayout: () => IFormLayoutContext;
useFormDeepLayout: () => IFormLayoutContext;
useFormShallowLayout: () => void;
};
export declare const CnFormLayout: Props;