tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
30 lines • 1.05 kB
TypeScript
import * as React from 'react';
import type { ColProps } from '../grid-v4/col';
import type { ValidateStatus } from './FormItem';
interface FormItemInputMiscProps {
prefixCls: string;
children: React.ReactNode;
errors: React.ReactNode[];
warnings: React.ReactNode[];
marginBottom?: number | null;
onErrorVisibleChanged?: (visible: boolean) => void;
/** @internal do not use in any of your production. */
_internalItemRender?: {
mark: string;
render: (props: FormItemInputProps & FormItemInputMiscProps, domList: {
input: JSX.Element;
errorList: JSX.Element | null;
extra: JSX.Element | null;
}) => React.ReactNode;
};
}
export interface FormItemInputProps {
wrapperCol?: ColProps;
extra?: React.ReactNode;
status?: ValidateStatus;
help?: React.ReactNode;
fieldId?: string;
}
declare const FormItemInput: React.FC<FormItemInputProps & FormItemInputMiscProps>;
export default FormItemInput;
//# sourceMappingURL=FormItemInput.d.ts.map