Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
feat(components): add sidebar, color story
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaringe committed Dec 27, 2016
1 parent b321daf commit a99f249
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/sidebar/Sidebar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/sidebar/Sidebar.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/sidebar/Sidebar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import Sidebar from 'semantic-ui-react/dist/commonjs/collections/Sidebar'
export default Sidebar
27 changes: 27 additions & 0 deletions src/stories/palette.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React from 'react'
import { storiesOf } from '@kadira/storybook'
import { withKnobs } from '@kadira/storybook-addon-knobs'
import Button from '../button/Button'

const stories = storiesOf('core.Palette', module)

.addDecorator(withKnobs)
.add('colors', () => (
<div>
<Button color='red'>Red</Button>
<Button color='orange'>Orange</Button>
<Button color='yellow'>Yellow</Button>
<Button color='olive'>Olive</Button>
<Button color='green'>Green</Button>
<Button color='teal'>Teal</Button>
<Button color='blue'>Blue</Button>
<Button color='violet'>Violet</Button>
<Button color='purple'>Purple</Button>
<Button color='pink'>Pink</Button>
<Button color='brown'>Brown</Button>
<Button color='grey'>Grey</Button>
<Button color='black'>Black</Button>
</div>
))

export default stories

0 comments on commit a99f249

Please sign in to comment.