import React from 'react' import { withRouter } from 'next/router' import CopyButton from './CopyButton' const toIFrame = url => ` ` function ExportButton({ router, children, color }) { return ( {children === 'COPY EMBED' ? ( {({ copied }) => } ) : ( )} ) } export default withRouter(ExportButton)