{}} />`;
-
-const exampleTab = (
-
-
- Examples
-
- {}} />
-
-
- {}} />
-
-
- {}}
- />
-
-
- {}}
- />
-
-
- {}}
- />
-
-
- {}}
- />
-
- Usage
- {exampleUsage}
-
-
-);
+import checkboxGroup from './sub-components/checkboxGroup';
const description = `Checkboxes are used when there is a list of options and
the user may select multiple options, including all or none.`;
storiesOf('Forms', module).add('Checkbox', () => (
<>
-
+ {description}
+
+
+
+ } importModules="Checkbox" />
+
+
+
+
+
+
+ {checkboxGroup}
+
>
));
diff --git a/stories/Checkbox/sub-components/checkboxGroup.jsx b/stories/Checkbox/sub-components/checkboxGroup.jsx
new file mode 100644
index 000000000..c85278eca
--- /dev/null
+++ b/stories/Checkbox/sub-components/checkboxGroup.jsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import { Title, StoryContainer } from '@catho/quantum-storybook-ui';
+import CheckboxGroup from '../../../components/Checkbox/CheckboxGroup';
+
+export default (
+
+ Checkbox Group
+
+
+
+
+
+
+
+
+
+
+);
diff --git a/stories/RadioGroup/RadioGroup.story.jsx b/stories/RadioGroup/RadioGroup.story.jsx
index 483a4c901..e6c1e3198 100644
--- a/stories/RadioGroup/RadioGroup.story.jsx
+++ b/stories/RadioGroup/RadioGroup.story.jsx
@@ -106,8 +106,8 @@ stories.add('Radio group', () => (
- It's also possible to render it inline, inline
{' '}
- prop.
+ It's also possible to render it inline, with{' '}
+ inline
prop.
diff --git a/stories/RadioGroup/sub-components/buttonGroupError.jsx b/stories/RadioGroup/sub-components/buttonGroupError.jsx
index b5c6397f7..dabe0be60 100644
--- a/stories/RadioGroup/sub-components/buttonGroupError.jsx
+++ b/stories/RadioGroup/sub-components/buttonGroupError.jsx
@@ -24,6 +24,7 @@ class Group extends React.Component {
options={options}
type="button"
error="Example error message"
+ inline
/>
);
}