tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
45 lines • 2.02 kB
TypeScript
import type { GroupProps as AntdGroupProps, InputProps as AntdInputProps, TextAreaProps as AntdTextAreaProps, PasswordProps as AntdPasswordProps, SearchProps as AntdSearchProps } from 'antd/lib/input';
import type { default as AntdPassword } from 'antd/lib/input/Password';
import type { default as AntdTextArea } from 'antd/lib/input/TextArea';
import type { default as AntdSearch } from 'antd/lib/input/Search';
import { default as AntdInput } from 'antd/lib/input';
import React from 'react';
export interface InputProps extends AntdInputProps {
borderStyle?: 'outline' | 'fill';
readonly?: boolean;
}
export interface GroupProps extends AntdGroupProps {
borderStyle?: 'outline' | 'fill';
}
export interface TextAreaProps extends AntdTextAreaProps {
borderStyle?: 'outline' | 'fill';
readonly?: boolean;
}
export interface PasswordProps extends AntdPasswordProps {
borderStyle?: 'outline' | 'fill';
readonly?: boolean;
}
export interface SearchProps extends AntdSearchProps {
borderStyle?: 'outline' | 'fill';
readonly?: boolean;
}
declare const Group: React.ForwardRefExoticComponent<GroupProps & React.RefAttributes<React.StatelessComponent<AntdGroupProps>>>;
declare const Search: React.ForwardRefExoticComponent<SearchProps & {
capitalize?: boolean | undefined;
} & React.RefAttributes<AntdSearch>>;
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & {
capitalize?: boolean | undefined;
} & React.RefAttributes<AntdTextArea>>;
declare const Password: React.ForwardRefExoticComponent<PasswordProps & {
capitalize?: boolean | undefined;
} & React.RefAttributes<AntdPassword>>;
interface InputComponent extends React.ForwardRefExoticComponent<InputProps & React.RefAttributes<AntdInput>> {
Group: typeof Group;
TextArea: typeof TextArea;
Password: typeof Password;
Search: typeof Search;
}
export declare const InternalInput: InputComponent;
export declare const Input: InputComponent;
export {};
//# sourceMappingURL=input.d.ts.map