import * as React from 'react' ; export interface PropTypes { children ? : any ; } export const FancyBorder = ( { children } ) => < div className = "fancy-border" > { React . cloneElement ( children , { className : 'fancy-content' } ) } < /div>; ( FancyBorder as any ) . displayName = 'FancyBorder' ;