UNPKG

567 BTypeScriptView Raw
1import * as React from 'react';
2export interface BannerProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside the banner */
4 children?: React.ReactNode;
5 /** Additional classes added to the banner */
6 className?: string;
7 /** Variant styles for the banner */
8 variant?: 'default' | 'info' | 'danger' | 'success' | 'warning';
9 /** If set to true, the banner sticks to the top of its container */
10 isSticky?: boolean;
11}
12export declare const Banner: React.FunctionComponent<BannerProps>;
13//# sourceMappingURL=Banner.d.ts.map
\No newline at end of file