variants.d.ts 1.2 KB

12345678910111213141516171819202122
  1. import type { CSSObject } from '@ant-design/cssinjs';
  2. import type { InputToken } from './token';
  3. export declare const genHoverStyle: (token: InputToken) => CSSObject;
  4. export declare const genDisabledStyle: (token: InputToken) => CSSObject;
  5. export declare const genBaseOutlinedStyle: (token: InputToken, options: {
  6. borderColor: string;
  7. hoverBorderColor: string;
  8. activeBorderColor: string;
  9. activeShadow: string;
  10. }) => CSSObject;
  11. export declare const genOutlinedStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;
  12. export declare const genOutlinedGroupStyle: (token: InputToken) => CSSObject;
  13. export declare const genBorderlessStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;
  14. export declare const genFilledStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;
  15. export declare const genFilledGroupStyle: (token: InputToken) => CSSObject;
  16. export declare const genBaseUnderlinedStyle: (token: InputToken, options: {
  17. borderColor: string;
  18. hoverBorderColor: string;
  19. activeBorderColor: string;
  20. activeShadow: string;
  21. }) => CSSObject;
  22. export declare const genUnderlinedStyle: (token: InputToken, extraStyles?: CSSObject) => CSSObject;