UNPKG

1.54 kBTypeScriptView Raw
1import * as React from 'react';
2export interface MastheadProps extends React.DetailedHTMLProps<React.HTMLProps<HTMLDivElement>, HTMLDivElement> {
3 /** Content rendered inside of the masthead */
4 children?: React.ReactNode;
5 /** Additional classes added to the masthead */
6 className?: string;
7 /** Background theme color of the masthead */
8 backgroundColor?: 'dark' | 'light' | 'light200';
9 /** Display type at various breakpoints */
10 display?: {
11 default?: 'inline' | 'stack';
12 sm?: 'inline' | 'stack';
13 md?: 'inline' | 'stack';
14 lg?: 'inline' | 'stack';
15 xl?: 'inline' | 'stack';
16 '2xl'?: 'inline' | 'stack';
17 };
18 /** Insets at various breakpoints */
19 inset?: {
20 default?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
21 sm?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
22 md?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
23 lg?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
24 xl?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
25 '2xl'?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
26 };
27}
28export declare const Masthead: React.FunctionComponent<MastheadProps>;
29//# sourceMappingURL=Masthead.d.ts.map
\No newline at end of file