import * as React from "react"; import { CSSTransition } from 'react-transition-group'; import { Button, IButtonProps } from "../../components/Button"; interface IPromptProps { text: string; button: IButtonProps; /** * Use this for showing/hiding the prompt */ mount: boolean; } export class Prompt extends React.Component { public render() { return ( {state => { return (

{this.props.text}

); }}
) } }