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

72 lines
1.9 KiB
TypeScript
Raw Permalink Normal View History

2025-11-12 11:35:57 +08:00
import type { GetDefaultToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Background color of card header
*/
headerBg: string;
/**
* @desc
* @descEN Font size of card header
*/
headerFontSize: number | string;
/**
* @desc
* @descEN Font size of small card header
*/
headerFontSizeSM: number | string;
/**
* @desc
* @descEN Height of card header
*/
headerHeight: number | string;
/**
* @desc
* @descEN Height of small card header
*/
headerHeightSM: number | string;
/**
* @desc
* @descEN Padding of small card body
*/
bodyPaddingSM: number;
/**
* @desc
* @descEN Padding of small card head
*/
headerPaddingSM: number;
/**
* @desc
* @descEN Padding of card body
*/
bodyPadding: number;
/**
* @desc
* @descEN Padding of card head
*/
headerPadding: number;
/**
* @desc
* @descEN Background color of card actions
*/
actionsBg: string;
/**
* @desc
* @descEN Margin of each item in card actions
*/
actionsLiMargin: string;
/**
* @desc
* @descEN Margin bottom of tabs component
*/
tabsMarginBottom: number;
/**
* @desc
* @descEN Text color of extra area
*/
extraColor: string;
}
export declare const prepareComponentToken: GetDefaultToken<'Card'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
export default _default;