@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
13 lines • 567 B
TypeScript
import * as React from 'react';
export interface BannerProps extends React.HTMLProps<HTMLDivElement> {
/** Content rendered inside the banner */
children?: React.ReactNode;
/** Additional classes added to the banner */
className?: string;
/** Variant styles for the banner */
variant?: 'default' | 'info' | 'danger' | 'success' | 'warning';
/** If set to true, the banner sticks to the top of its container */
isSticky?: boolean;
}
export declare const Banner: React.FunctionComponent<BannerProps>;
//# sourceMappingURL=Banner.d.ts.map