PromoCursed/node_modules/antd/lib/input/style/index.d.ts

18 lines
901 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { CSSObject } from '@ant-design/cssinjs';
import type { ComponentToken, InputToken } from './token';
import { initComponentToken, initInputToken } from './token';
export type { ComponentToken };
export { initComponentToken, initInputToken };
export declare const genPlaceholderStyle: (color: string) => CSSObject;
export declare const genActiveStyle: (token: InputToken) => {
borderColor: string;
boxShadow: string;
outline: number;
backgroundColor: string;
};
export declare const genInputSmallStyle: (token: InputToken) => CSSObject;
export declare const genBasicInputStyle: (token: InputToken) => CSSObject;
export declare const genInputGroupStyle: (token: InputToken) => CSSObject;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement) => import("react").ReactElement, string, string];
export default _default;