forked from bahdcoder/ds.e
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
3,655 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
stories: ['../src/**/*.stories.tsx'], | ||
addons: ['@storybook/preset-typescript'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react' | ||
import Select from './Select' | ||
|
||
|
||
// css | ||
import '@ds.e/scss/lib/Select.css' | ||
|
||
const options = [{ | ||
label: 'Strict Black', | ||
value: 'black' | ||
}, { | ||
label: 'Heavenly Green', | ||
value: 'green' | ||
}, { | ||
label: 'Sweet Pink', | ||
value: 'pink' | ||
}] | ||
|
||
export default { | ||
title: 'Select' | ||
} | ||
|
||
export const Common = () => <Select options={options} /> |
Oops, something went wrong.