-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Icons and their stories (#235)
* Revert "adding a way to build svg sprite (#226)" This reverts commit 64583c9. * Adding Icons and their stories
- Loading branch information
Showing
3 changed files
with
114 additions
and
1 deletion.
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,33 @@ | ||
import About from './About' | ||
import Code from './Code' | ||
import Copy from './Copy' | ||
import Download from './Download' | ||
import Edit from './Edit' | ||
import Eth from './Eth' | ||
import Etherscan from './Etherscan' | ||
import EthSub from './EthSub' | ||
import Export from './Export' | ||
import Github from './Github' | ||
import Infinity from './Infinity' | ||
import Jobs from './Jobs' | ||
import Unlock from './Unlock' | ||
import Upload from './Upload' | ||
import Withdraw from './Withdraw' | ||
|
||
export default { | ||
About, | ||
Code, | ||
Copy, | ||
Download, | ||
Edit, | ||
Eth, | ||
Etherscan, | ||
EthSub, | ||
Export, | ||
Github, | ||
Infinity, | ||
Jobs, | ||
Unlock, | ||
Upload, | ||
Withdraw, | ||
} |
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,80 @@ | ||
import React from 'react' | ||
import { storiesOf } from '@storybook/react' | ||
import Icons from '../../components/interface/icons' | ||
|
||
storiesOf('Icons') | ||
.add('with the About', () => { | ||
return ( | ||
<Icons.About /> | ||
) | ||
}) | ||
.add('with the Code', () => { | ||
return ( | ||
<Icons.Code /> | ||
) | ||
}) | ||
.add('with the Copy', () => { | ||
return ( | ||
<Icons.Copy /> | ||
) | ||
}) | ||
.add('with the Download', () => { | ||
return ( | ||
<Icons.Download /> | ||
) | ||
}) | ||
.add('with the Edit', () => { | ||
return ( | ||
<Icons.Edit /> | ||
) | ||
}) | ||
.add('with the Eth', () => { | ||
return ( | ||
<Icons.Eth /> | ||
) | ||
}) | ||
.add('with the Etherscan', () => { | ||
return ( | ||
<Icons.Etherscan /> | ||
) | ||
}) | ||
.add('with the EthSub', () => { | ||
return ( | ||
<Icons.EthSub /> | ||
) | ||
}) | ||
.add('with the Export', () => { | ||
return ( | ||
<Icons.Export /> | ||
) | ||
}) | ||
.add('with the Github', () => { | ||
return ( | ||
<Icons.Github /> | ||
) | ||
}) | ||
.add('with the Infinity', () => { | ||
return ( | ||
<Icons.Infinity /> | ||
) | ||
}) | ||
.add('with the Jobs', () => { | ||
return ( | ||
<Icons.Jobs /> | ||
) | ||
}) | ||
.add('with the Unlock', () => { | ||
return ( | ||
<Icons.Unlock /> | ||
) | ||
}) | ||
.add('with the Upload', () => { | ||
return ( | ||
<Icons.Upload /> | ||
) | ||
}) | ||
.add('with the Withdraw', () => { | ||
return ( | ||
<Icons.Withdraw /> | ||
) | ||
}) |