PromoCursed/node_modules/antd/lib/input/style/index.d.ts
2024-08-20 23:25:37 +04:00

18 lines
901 B
TypeScript

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;