Skip to content

Commit

Permalink
feat(standalone-icon): Add new standalone icon
Browse files Browse the repository at this point in the history
Refactor Standalone and DecorativeIcon to share logic from new Icon component
  • Loading branch information
lzcabrera committed Sep 22, 2017
1 parent e81344f commit a7b2cb9
Show file tree
Hide file tree
Showing 18 changed files with 241 additions and 442 deletions.
7 changes: 6 additions & 1 deletion config/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,12 @@ module.exports = {
},
{
name: 'Icons',
components: toggleByEnv('Icon', path.resolve('src/components/DecorativeIcon/DecorativeIcon.jsx'), path.resolve('src/old-components/Icon/Icon.jsx'))
components() {
return compact([
toggleByEnv('Icon', path.resolve('src/components/Icons/DecorativeIcon/DecorativeIcon.jsx')),
toggleByEnv('Icon', path.resolve('src/components/Icons/StandaloneIcon/StandaloneIcon.jsx'), path.resolve('src/old-components/Icon/Icon.jsx'))
])
}
},
{
name: 'Feedback Indicators',
Expand Down
116 changes: 0 additions & 116 deletions src/components/Icon/Icon.jsx

This file was deleted.

85 changes: 0 additions & 85 deletions src/components/Icon/Icon.md

This file was deleted.

86 changes: 0 additions & 86 deletions src/components/Icon/Icon.modules.scss

This file was deleted.

Loading

0 comments on commit a7b2cb9

Please sign in to comment.