UNPKG

@codeworker.br/govbr-tw-react

Version:

Biblioteca de componentes React usando Tailwind CSS que implementa o Padrão Digital de Governo.

12 lines (11 loc) 418 B
import { VariantProps } from "class-variance-authority"; import messageVariants from "./variants"; import { ComponentProps, FC } from "react"; interface MessagesProps extends ComponentProps<"span">, VariantProps<typeof messageVariants> { closable?: "button" | "timer" | "both" | "none"; timer?: number; hasIcon?: boolean; icon?: any; } declare const Message: FC<MessagesProps>; export default Message;