import classNames from 'classnames'; import { Clicker, } from '../Clicker'; import { FadeOut, } from '../FadeOut'; import { IClickDisappearOwnProps, } from './IClickDisappearOwnProps'; import * as React from 'react'; export const ClickDisappear: React.FunctionComponent = ({ children, className, fadeOutDuration, }) => { const after = fadeOutDuration! > 0 && fadeOutDuration! % 1 === 0 ? {children} : null; return ( {children} ); };