pinafore/src/routes/_components/dialog/creators/showCopyDialog.js

11 wiersze
252 B
JavaScript

import CopyDialog from '../components/CopyDialog.html'
import { showDialog } from './showDialog'
export default function showCopyDialog (text) {
return showDialog(CopyDialog, {
label: 'intl.copyLink',
title: 'intl.copyLink',
text
})
}