Adds tests and storybook to CopyToClipboard component (#13359)

This commit is contained in:
Michael S. Molina
2021-03-02 21:34:55 -03:00
committed by GitHub
parent 7d270bced6
commit e9d5d3b137
12 changed files with 181 additions and 56 deletions

View File

@@ -81,7 +81,7 @@ export const AsyncAceEditor = (
AsyncAceEditor.args = {
defaultTabSize: 2,
width: '100%',
height: 500,
height: '500px',
value: `{"text": "Simple text"}`,
};
@@ -99,10 +99,10 @@ AsyncAceEditor.argTypes = {
AsyncAceEditor.story = {
parameters: {
actions: {
disabled: true,
disable: true,
},
knobs: {
disabled: true,
disable: true,
},
},
};