choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
12 lines (11 loc) • 459 B
TypeScript
import React, { ReactNode } from 'react';
export interface FormContextValue {
vertical?: boolean;
getPrefixCls(suffixCls: string, customizePrefixCls?: string): string;
}
export interface FormContextProviderProps extends FormContextValue {
children?: ReactNode;
}
declare const FormContext: React.Context<FormContextValue>;
export declare const FormContextProvider: React.NamedExoticComponent<FormContextProviderProps>;
export default FormContext;