Skip to content

Commit

Permalink
Move icon functions to index.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Feb 14, 2017
1 parent 6280d72 commit 15e1a77
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
6 changes: 0 additions & 6 deletions ui_framework/components/icon/create_icon.js

This file was deleted.

6 changes: 0 additions & 6 deletions ui_framework/components/icon/delete_icon.js

This file was deleted.

5 changes: 5 additions & 0 deletions ui_framework/components/icon/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react';
import { KuiIcon } from './kui_icon';

export const DeleteIcon = () => <KuiIcon className="fa-trash"/>;
export const CreateIcon = () => <KuiIcon className="fa-plus"/>;
3 changes: 1 addition & 2 deletions ui_framework/components/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { CreateIcon } from './icon/create_icon';
export { DeleteIcon } from './icon/delete_icon';
export * from './icon';

0 comments on commit 15e1a77

Please sign in to comment.