@quanxi/ui
Version:
全悉组件库
18 lines (17 loc) • 514 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: React.MouseEvent<HTMLElement>) => void;
className?: string;
}
declare const Tag: (props: TagProps) => React.JSX.Element;
export default Tag;