@quanxi/ui
Version:
全悉组件库
18 lines (17 loc) • 482 B
TypeScript
import React from "react";
import "./style.scss";
export interface TagProps {
size?: "small" | "medium";
type?: "light" | "solid" | "ghost" | "white";
color?: string;
textColor?: string;
style?: React.CSSProperties;
backgroundColor?: string;
closeable?: boolean;
icon?: React.ReactNode;
children?: React.ReactNode;
onClose?: (e: any) => void;
className?: string;
}
declare const Tag: (props: TagProps) => JSX.Element;
export default Tag;