UNPKG

tako-custom-components

Version:

install ```bash npm i tako-custom-components ```

12 lines (11 loc) 335 B
import './header.css'; export type User = { name: string; }; export interface HeaderProps { user?: User; onLogin?: () => void; onLogout?: () => void; onCreateAccount?: () => void; } export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;