import { ReactElement } from 'react'; import { CellProps, GridProps } from '../grid'; import { NewsKitIcon } from '../icons'; import { LogicalProps } from '../utils/logical-properties'; import { MQ } from '../utils/style'; export interface BannerBaseProps extends React.AriaAttributes { actions?: React.ComponentType[]; children: Exclude; closeButtonLabel?: string; icon?: ReactElement; title?: React.ReactNode; onClose?: () => void; overrides?: { stylePreset?: MQ; minHeight?: MQ; maxWidth?: MQ; grid?: { props: GridProps; }; cell?: { props: CellProps; }; icon?: { spaceInline?: MQ; }; content?: { spaceInline?: MQ; title?: { stylePreset?: MQ; typographyPreset?: MQ; spaceStack?: MQ; }; message?: { stylePreset?: MQ; typographyPreset?: MQ; }; }; actions?: { spaceInline?: MQ; closeButton?: { stylePreset?: MQ; }; }; } & LogicalProps; } export interface BannerInternalProps extends BannerBaseProps { layout: 'horizontal' | 'vertical'; } export interface BannerProps extends BannerBaseProps { layout?: MQ<'horizontal' | 'vertical'>; } //# sourceMappingURL=types.d.ts.map