import * as React from 'react' ; export interface ConditionalProps { name description condition ? : boolean ; name default truthy ? : React . ReactNode ; name default falsy ? : React . ReactNode ; } name description icon patternType export const Conditional = props => { return < > { props . condition ? props . truthy : props . falsy } < />; } ;