minishouyin/node_modules/antd/lib/input/style/variants.d.ts

23 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
import type { CSSObject } from '@ant-design/cssinjs';
import type { InputToken } from './token';
export declare const genHoverStyle: (token: InputToken) => CSSObject;
export declare const genDisabledStyle: (token: InputToken) => CSSObject;
export declare const genBaseOutlinedStyle: (token: InputToken, options: {
borderColor: string;
hoverBorderColor: string;
activeBorderColor: string;
activeShadow: string;
}) => CSSObject;
export declare const genOutlinedStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;
export declare const genOutlinedGroupStyle: (token: InputToken) => CSSObject;
export declare const genBorderlessStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;
export declare const genFilledStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;
export declare const genFilledGroupStyle: (token: InputToken) => CSSObject;
export declare const genBaseUnderlinedStyle: (token: InputToken, options: {
borderColor: string;
hoverBorderColor: string;
activeBorderColor: string;
activeShadow: string;
}) => CSSObject;
export declare const genUnderlinedStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;