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

42 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-12-01 11:56:54 +00:00
import { IBaseProps } from '../_util/base';
2024-11-10 07:01:22 +00:00
/**
* @description
*/
export interface IBadgeProps extends IBaseProps {
2024-12-01 11:56:54 +00:00
/**
* @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;
2024-11-10 07:01:22 +00:00
}
export declare const BadgeDefaultProps: Partial<IBadgeProps>;
2024-12-01 11:56:54 +00:00
export declare const BadgeFunctionalProps: Partial<IBadgeProps>;