UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

12 lines (11 loc) 529 B
import React, { FC } from 'react'; import { ITouchEvent } from '@tarojs/components'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; export declare type TagProps = { color?: 'default' | 'primary' | 'success' | 'warning' | 'danger' | (string & {}); fill?: 'solid' | 'outline'; round?: boolean; onClick?: (e: ITouchEvent) => void; children?: React.ReactNode; } & NativeProps<'--border-color' | '--background-color' | '--text-color' | '--border-radius'>; export declare const Tag: FC<TagProps>;