/** * Alert component * @param children - or strings only! * @param onRequestClose - callback to close alert. If not provided, close button will not be displayed * @param accent - background color of the alert * @param inverted - invert colors * @constructor */ import { FC, ReactNode } from 'react'; import { ReactSVGComponentType } from '@preply/ds-web-core'; import { Accent } from './RebrandAlert.types'; export interface RebrandAlertProps { onRequestClose?: () => void; children: ReactNode | string; accent: Accent; button?: ReactNode; inverted?: boolean; fullWidth?: boolean; hideIcon?: boolean; icon?: ReactSVGComponentType; } export declare const RebrandAlert: FC; //# sourceMappingURL=RebrandAlert.d.ts.map