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

54 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
import { IBaseProps } from '../_base';
/**
* @description
*/
export interface IBadgeProps extends IBaseProps {
/**
* @description badge
* @default dot
*/
type?: 'dot' | 'number' | 'text' | 'bubble';
/**
* @description 99 99+
*/
number?: number;
/**
* @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;
/**
* @description
* @default false
*/
stroke?: boolean;
/**
* @description
*/
bgColor?: string;
}
export declare const BadgeDefaultProps: Partial<IBadgeProps>;