31 lines
1.0 KiB
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { FullToken, GetDefaultToken } from '../../theme/internal';
/** Component only token. Which will handle additional calculation of alias token */
export interface ComponentToken {
}
export interface FlexToken extends FullToken<'Flex'> {
/**
* @nameZH
* @nameEN Small Gap
* @desc
* @descEN Control the small gap of the element.
*/
flexGapSM: number;
/**
* @nameZH
* @nameEN Gap
* @desc
* @descEN Control the gap of the element.
*/
flexGap: number;
/**
* @nameZH
* @nameEN Large Gap
* @desc
* @descEN Control the large gap of the element.
*/
flexGapLG: number;
}
export declare const prepareComponentToken: GetDefaultToken<'Flex'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement) => import("react").ReactElement, string, string];
export default _default;