minishouyin/node_modules/antd/es/rate/style/index.d.ts

28 lines
807 B
TypeScript
Raw Permalink Normal View History

2025-11-12 11:35:57 +08:00
import type { CSSObject } from '@ant-design/cssinjs';
import type { GetDefaultToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Star color
*/
starColor: string;
/**
* @desc
* @descEN Star size
*/
starSize: number;
/**
* @desc
* @descEN Scale of star when hover
*/
starHoverScale: CSSObject['transform'];
/**
* @desc
* @descEN Star background color
*/
starBg: string;
}
export declare const prepareComponentToken: GetDefaultToken<'Rate'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
export default _default;