import { CSSTransition } from "react-transition-group"; import * as React from "react"; import { Button, ButtonSize, ButtonType, IButtonProps } from "../Button"; import { Icon } from "../Icon"; import { markdownToHtml } from "../../utilities/strings"; interface IBannerProps { text: string; mount: boolean; button: Partial onClose?: () => void; onExited?: () => void; } export const Banner = ({ mount, text, button, onClose, onExited }: IBannerProps) => (
)