diff --git a/assets/js/src/common/form/select/_stories/assets/icon.tsx b/assets/js/src/common/form/select/_stories/assets/icon.tsx new file mode 100644 index 0000000000..6877b67def --- /dev/null +++ b/assets/js/src/common/form/select/_stories/assets/icon.tsx @@ -0,0 +1,7 @@ +import React from 'react'; + +export default ( + + + +); diff --git a/assets/js/src/common/form/select/_stories/select.tsx b/assets/js/src/common/form/select/_stories/select.tsx new file mode 100644 index 0000000000..062fc1be6f --- /dev/null +++ b/assets/js/src/common/form/select/_stories/select.tsx @@ -0,0 +1,66 @@ +import React from 'react'; +import { action } from '@storybook/addon-actions'; +import Select from '../select'; +import Heading from '../../../typography/heading/heading'; +import icon from './assets/icon'; + +export default { + title: 'Form', + component: Select, +}; + +export const SelectBoxes = () => ( + <> + Small select boxes +

+ +

+ +

+
+ Regular select boxes +

+ +

+ +

+
+ Full-width select boxes +

+ +

+ +

+
+ +);