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

11 wiersze
252 B
JavaScript
Czysty Zwykły widok Historia

import CopyDialog from '../components/CopyDialog.html'
2019-02-19 00:27:59 +00:00
import { showDialog } from './showDialog'
export default function showCopyDialog (text) {
2019-02-19 00:27:59 +00:00
return showDialog(CopyDialog, {
label: 'intl.copyLink',
title: 'intl.copyLink',
2019-02-19 00:27:59 +00:00
text
})
}