import hbs from 'htmlbars-inline-precompile'; import { withKnobs, text } from '@storybook/addon-knobs'; export default { title: 'Components|Copy Button', decorators: [withKnobs], }; export let CopyButton = () => { return { template: hbs`
Copy Button
{{clipboardText}} `, context: { clipboardText: text('Clipboard Text', 'e8c898a0-794b-9063-7a7f-bf0c4a405f83'), }, }; };