jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/less/Badge/props.d.ts

42 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../_util/base';
/**
* @description
*/
export interface IBadgeProps extends IBaseProps {
/**
* @description badge
* @default dot
*/
type: 'dot' | 'number' | 'text' | 'bubble';
/**
* @description 99 ...
*/
text: string | number;
/**
* @description children 访left-top() top-right()
* @default "top-right"
*/
position: 'top-left' | 'top-center' | 'top-right' | 'left' | 'right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
/**
* @description
* @default "-50%"
*/
offsetX: string;
/**
* @description
* @default "-50%"
*/
offsetY: number | string;
/**
* @description
* @default false
*/
stroke: boolean;
/**
* @description
*/
bgColor: string;
}
export declare const BadgeDefaultProps: Partial<IBadgeProps>;
export declare const BadgeFunctionalProps: Partial<IBadgeProps>;