react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
13 lines (12 loc) • 316 B
TypeScript
import './header.css';
declare 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 {};