export interface Props { text?: string, color?: "red" | "orange" | "yellow" | "lime" | "green" | "cyan" | "blue" | "purple" | "pink", className?: string, children?: any } const Tag = ({ text, color, children, className }: Props): JSX.Element => (
{ text }{children}
); export default Tag