@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
18 lines (17 loc) • 657 B
TypeScript
import { default as React } from 'react';
export declare const HEADER_VARIANT: readonly ["full", "main"];
export type HeaderVariant = (typeof HEADER_VARIANT)[number];
/** Props for any “slot” component */
export interface SlotProps {
children: React.ReactNode;
className?: string;
}
/** Props for slot component with optional children */
export interface OptionalSlotProps extends Omit<SlotProps, 'children'> {
children?: React.ReactNode;
}
export declare const validateHeaderChildren: ({ hasBrandArea, hasPrimaryArea, hasSecondaryArea, }: {
hasBrandArea: boolean;
hasPrimaryArea: boolean;
hasSecondaryArea: boolean;
}) => void;