Skip to content

Commit 5eab2b3

Browse files
karajelbourn
authored andcommitted
chore(icon): export icon registry as part of icon (#366)
1 parent 04c8a1f commit 5eab2b3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/icon/icon.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
AfterViewChecked
1212
} from '@angular/core';
1313
import {MdIconRegistry} from './icon-registry';
14-
14+
export {MdIconRegistry} from './icon-registry';
1515

1616

1717
/** Exception thrown when an invalid icon name is passed to an md-icon component. */

src/demo-app/icon/icon-demo.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {Component, ViewEncapsulation} from '@angular/core';
2-
import {MdIcon} from '../../components/icon/icon';
3-
import {MdIconRegistry} from '../../components/icon/icon-registry';
2+
import {MdIcon, MdIconRegistry} from '../../components/icon/icon';
43

54
@Component({
65
selector: 'md-icon-demo',

0 commit comments

Comments
 (0)