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

63 lines
1.7 KiB
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
import type { CSSProperties } from 'react';
import type { GetDefaultToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Width of content
*/
contentWidth: number | string;
/**
* @desc
* @descEN Padding of large item
*/
itemPaddingLG: string;
/**
* @desc
* @descEN Padding of small item
*/
itemPaddingSM: string;
/**
* @desc
* @descEN Padding of item
*/
itemPadding: string;
/**
* @desc
* @descEN Background color of header
*/
headerBg: string;
/**
* @desc
* @descEN Background color of footer
*/
footerBg: string;
/**
* @desc
* @descEN Padding of empty text
*/
emptyTextPadding: CSSProperties['padding'];
/**
* @desc Meta
* @descEN Margin bottom of meta
*/
metaMarginBottom: CSSProperties['marginBottom'];
/**
* @desc
* @descEN Right margin of avatar
*/
avatarMarginRight: CSSProperties['marginRight'];
/**
* @desc
* @descEN Margin bottom of title
*/
titleMarginBottom: CSSProperties['marginBottom'];
/**
* @desc
* @descEN Font size of description
*/
descriptionFontSize: number;
}
export declare const prepareComponentToken: GetDefaultToken<'List'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
export default _default;