antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
12 lines (11 loc) • 439 B
TypeScript
import React, { FC } from 'react';
import { NativeProps } from 'antd-mobile/es/utils/native-props';
export declare const dot: JSX.Element;
export declare type BadgeProps = {
content?: React.ReactNode | typeof dot;
bordered?: boolean;
children?: React.ReactNode;
wrapperClassName?: string;
wrapperStyle?: React.CSSProperties;
} & NativeProps<'--right' | '--top' | '--color'>;
export declare const Badge: FC<BadgeProps>;