mr-component
Version:
A library for Mr components
19 lines (18 loc) • 580 B
TypeScript
import * as React from 'react';
interface VantTagProps {
type?: 'default' | 'primary' | 'success' | 'warning' | 'danger';
size?: 'large' | 'medium' | 'small';
color?: string;
textColor?: string;
plain?: boolean;
round?: boolean;
mark?: boolean;
closeable?: boolean;
onClick?: () => void;
onClose?: () => void;
style?: React.CSSProperties;
className?: string;
children?: React.ReactNode;
}
declare const RefVantTag: React.ForwardRefExoticComponent<VantTagProps & React.RefAttributes<HTMLSpanElement>>;
export default RefVantTag;