import * as copy from 'copy-to-clipboard' ; import { showPlainToast } from './toaster' ; export const handleCopy = ( copyText , toastText ) => ( ) => { copy ( copyText ) ; showPlainToast ( toastText ) ; } ;