aboutsummaryrefslogtreecommitdiffstats
path: root/stories/react/Checkbox.stories.js
diff options
context:
space:
mode:
Diffstat (limited to 'stories/react/Checkbox.stories.js')
-rw-r--r--stories/react/Checkbox.stories.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/stories/react/Checkbox.stories.js b/stories/react/Checkbox.stories.js
deleted file mode 100644
index 3fb3ad1..0000000
--- a/stories/react/Checkbox.stories.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import React from 'react';
-import Examples from './utils/Examples.js';
-
-import Checkbox from '../../src/react/Checkbox';
-import HTMLCheckboxChecked from '../../components/checkbox/checkbox-checked.html';
-import HTMLCheckboxUnchecked from '../../components/checkbox/checkbox-unchecked.html';
-import HTMLCheckboxDisabled from '../../components/checkbox/checkbox-disabled.html';
-import HTMLCheckboxDisabledChecked from '../../components/checkbox/checkbox-disabled-checked.html';
-
-let examples = {
- Checked: {
- jsx: <Checkbox checked={true} label='This is the checkbox label' value='myVal' onChange={()=>{}} data-test-id='mycheckbox-1' inputRef={() => {} } />,
- html: HTMLCheckboxChecked
- },
- Unchecked: {
- jsx: <Checkbox label='This is the checkbox label' value='myVal' onChange={()=>{}} data-test-id='mycheckbox-2' inputRef={() => {} } />,
- html: HTMLCheckboxUnchecked
- },
- Disabled: {
- jsx: <Checkbox label='This is the checkbox label' disabled={true} value='myVal' onChange={()=>{}} data-test-id='mycheckbox-4' inputRef={() => {} } />,
- html: HTMLCheckboxDisabled
- },
- 'Disabled and Checked': {
- jsx: <Checkbox label='This is the checkbox label' disabled={true} checked={true} value='myVal' onChange={()=>{}} data-test-id='mycheckbox-4' inputRef={() => {} } />,
- html: HTMLCheckboxDisabledChecked
- }
-};
-
-const Checkboxes = () => (
- <Examples examples={examples} />
-);
-
-export default Checkboxes;