UNPKG

@szum-tech/design-system

Version:

Szum-Tech design system with tailwindcss support

18 lines (15 loc) 606 B
import * as React from 'react'; type HeaderProps = React.ComponentProps<"header"> & { children?: React.ReactNode; /** * Controls the width constraint of the header's inner content area. * * - `"container"` – Constrains content to the responsive `container` max-width (default). * - `"full"` – Stretches content to the full viewport width with horizontal padding. * * @default "container" */ variant?: "full" | "container"; }; declare function Header({ children, variant, ...props }: HeaderProps): React.JSX.Element; export { Header, type HeaderProps };