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

103 lines
2.8 KiB
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { CSSProperties } from 'react';
import type { FullToken, GetDefaultToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Max width of description area
*/
descriptionMaxWidth: number;
/**
* @desc
* @descEN Size of custom icon container
*/
customIconSize: number;
/**
* @desc top
* @descEN Top of custom icon
*/
customIconTop: number;
/**
* @desc
* @descEN Font size of custom icon
*/
customIconFontSize: number;
/**
* @desc
* @descEN Size of icon container
*/
iconSize: number;
/**
* @desc top
* @descEN Top of icon
*/
iconTop: number;
/**
* @desc
* @descEN Size of icon
*/
iconFontSize: number;
/**
* @desc
* @descEN Size of dot
*/
dotSize: number;
/**
* @desc
* @descEN Current size of dot
*/
dotCurrentSize: number;
/**
* @desc
* @descEN Color of arrow in nav
*/
navArrowColor: string;
/**
* @desc
* @descEN Max width of nav content
*/
navContentMaxWidth: CSSProperties['maxWidth'];
/**
* @desc
* @descEN Size of small steps icon
*/
iconSizeSM: number;
/**
* @desc
* @descEN Line height of title
*/
titleLineHeight: number | string;
}
export interface StepsToken extends FullToken<'Steps'> {
processTailColor: string;
processIconColor: string;
processTitleColor: string;
processDescriptionColor: string;
processIconBgColor: string;
processIconBorderColor: string;
processDotColor: string;
waitTitleColor: string;
waitDescriptionColor: string;
waitTailColor: string;
waitDotColor: string;
finishIconColor: string;
finishTitleColor: string;
finishDescriptionColor: string;
finishTailColor: string;
finishDotColor: string;
errorIconColor: string;
errorTitleColor: string;
errorDescriptionColor: string;
errorTailColor: string;
errorIconBgColor: string;
errorIconBorderColor: string;
errorDotColor: string;
stepsNavActiveColor: string;
stepsProgressSize: number;
inlineDotSize: number;
inlineTitleColor: string;
inlineTailColor: string;
}
export declare const prepareComponentToken: GetDefaultToken<'Steps'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement) => import("react").ReactElement, string, string];
export default _default;