react-focus-on
Version:
The final solution for WAI ARIA compatible modal dialogs or full-screen tasks.
13 lines (12 loc) • 311 B
TypeScript
import './header.css';
type User = {
name: string;
};
export interface HeaderProps {
user?: User;
onLogin?: () => void;
onLogout?: () => void;
onCreateAccount?: () => void;
}
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => JSX.Element;
export {};