@codeworker.br/govbr-tw-react
Version:
Biblioteca de componentes React usando Tailwind CSS que implementa o Padrão Digital de Governo.
11 lines (10 loc) • 489 B
TypeScript
import type { ComponentPropsWithoutRef, ReactNode } from "react";
import type { VariantProps } from "class-variance-authority";
import { itemVariants } from "./variants";
export interface ItemProps extends ComponentPropsWithoutRef<"div">, VariantProps<typeof itemVariants> {
icon?: ReactNode;
meta?: ReactNode;
actions?: ReactNode;
}
declare const Item: import("react").ForwardRefExoticComponent<ItemProps & import("react").RefAttributes<HTMLDivElement>>;
export default Item;