minishouyin/node_modules/antd/lib/segmented/style/index.d.ts

47 lines
1.4 KiB
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
import type { GetDefaultToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Text color of item
*/
itemColor: string;
/**
* @desc
* @descEN Text color of item when hover
*/
itemHoverColor: string;
/**
* @desc
* @descEN Background color of item when hover
*/
itemHoverBg: string;
/**
* @desc
* @descEN Background color of item when active
*/
itemActiveBg: string;
/**
* @desc
* @descEN Background color of item when selected
*/
itemSelectedBg: string;
/**
* @desc
* @descEN Text color of item when selected
*/
itemSelectedColor: string;
/**
* @desc Segmented padding
* @descEN Padding of Segmented container
*/
trackPadding: string | number;
/**
* @desc Segmented
* @descEN Background of Segmented container
*/
trackBg: string;
}
export declare const prepareComponentToken: GetDefaultToken<'Segmented'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
export default _default;