/* eslint-disable import/extensions */ import hbs from 'htmlbars-inline-precompile'; import { storiesOf } from '@storybook/ember'; import { withKnobs, text, boolean } from '@storybook/addon-knobs'; import notes from './masked-input.md'; storiesOf('MaskedInput/', module) .addParameters({ options: { showPanel: true } }) .addDecorator(withKnobs()) .add( `MaskedInput`, () => ({ template: hbs`
Masked Input
`, context: { value: text('value', ''), placeholder: text('placeholder', 'super-secret'), allowCopy: boolean('allowCopy', false), displayOnly: boolean('displayOnly', false), }, }), { notes } );