diff --git a/ui/components/ui/editable-label/editable-label.stories.js b/ui/components/ui/editable-label/editable-label.stories.js new file mode 100644 index 000000000..8eb93d362 --- /dev/null +++ b/ui/components/ui/editable-label/editable-label.stories.js @@ -0,0 +1,33 @@ +import React from 'react'; +import EditableLabel from '.'; + +export default { + title: 'Components/UI/EditableLabel', + id: __filename, + argTypes: { + onSubmit: { + action: 'onSubmit', + }, + defaultValue: { + control: 'text', + }, + className: { + control: 'text', + }, + accountsNames: { + control: 'array', + }, + }, + args: { + defaultValue: 'Account 3', + accountsNames: ['Account 1', 'Account 2'], + }, +}; + +export const DefaultStory = (args) => ( +