UNPKG

@codeworker.br/govbr-tw-react

Version:

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

22 lines (21 loc) 711 B
import { ComponentProps } from "react"; interface MenuItem { title?: string; link?: string; subLinks?: MenuItem[]; type?: string; } interface HeaderProps extends ComponentProps<"header"> { locator?: string[]; headerTitle?: string; login?: boolean; loginLabel?: string; searchInput?: any; menu?: MenuItem[]; } declare const Header: { ({ children, locator, headerTitle, login, loginLabel, searchInput, menu, }: HeaderProps): import("react/jsx-runtime").JSX.Element; PrimaryMenu: ({ children, className }: any) => import("react/jsx-runtime").JSX.Element; IconMenu: ({ children, className }: any) => import("react/jsx-runtime").JSX.Element; }; export { Header };