12345678910111213141516171819202122232425262728293031323334353637383940 |
- import type { GetDefaultToken } from '../../theme/internal';
- export interface ComponentToken {
- /** @deprecated use gradientFromColor instead. */
- color: string;
- /** @deprecated use gradientToColor instead. */
- colorGradientEnd: string;
- /**
- * @desc 渐变色起点颜色
- * @descEN Start color of gradient
- */
- gradientFromColor: string;
- /**
- * @desc 渐变色终点颜色
- * @descEN End color of gradient
- */
- gradientToColor: string;
- /**
- * @desc 标题骨架屏高度
- * @descEN Height of title skeleton
- */
- titleHeight: number | string;
- /**
- * @desc 骨架屏圆角
- * @descEN Border radius of skeleton
- */
- blockRadius: number;
- /**
- * @desc 段落骨架屏上间距
- * @descEN Margin top of paragraph skeleton
- */
- paragraphMarginTop: number;
- /**
- * @desc 段落骨架屏单行高度
- * @descEN Line height of paragraph skeleton
- */
- paragraphLiHeight: number;
- }
- export declare const prepareComponentToken: GetDefaultToken<'Skeleton'>;
- declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
- export default _default;
|