diff --git a/src/app/examples/example-module.ts b/src/app/examples/example-module.ts index 548c8d000..e170b7272 100644 --- a/src/app/examples/example-module.ts +++ b/src/app/examples/example-module.ts @@ -52,7 +52,7 @@ import {SliderOverviewExample} from './slider-overview/slider-overview-example'; import { SlideToggleConfigurableExample } from './slide-toggle-configurable/slide-toggle-configurable-example'; -import {IconSvgExample} from './icon-svg-example/icon-svg-example'; +import {IconSvgExample} from './icon-svg/icon-svg-example'; import {SidenavFabExample} from './sidenav-fab/sidenav-fab-example'; import {CardOverviewExample} from './card-overview/card-overview-example'; import { @@ -108,7 +108,10 @@ export const EXAMPLE_COMPONENTS = { 'grid-list-dynamic': {title: 'Dynamic grid-list', component: GridListDynamicExample}, 'grid-list-overview': {title: 'Basic grid-list', component: GridListOverviewExample}, 'icon-overview': {title: 'Basic icons', component: IconOverviewExample}, - 'icon-svg': {title: 'SVG icons', component: IconSvgExample}, + 'icon-svg': { + title: 'SVG icons', + component: IconSvgExample, + additionalFiles: ['assets/img/examples/thumbup-icon.svg']}, 'input-form': {title: 'Inputs in a form', component: InputFormExample}, 'input-overview': {title: 'Basic inputs', component: InputOverviewExample}, 'list-overview': {title: 'Basic list', component: ListOverviewExample}, diff --git a/src/app/examples/icon-svg-example/icon-svg-example.css b/src/app/examples/icon-svg/icon-svg-example.css similarity index 100% rename from src/app/examples/icon-svg-example/icon-svg-example.css rename to src/app/examples/icon-svg/icon-svg-example.css diff --git a/src/app/examples/icon-svg-example/icon-svg-example.html b/src/app/examples/icon-svg/icon-svg-example.html similarity index 100% rename from src/app/examples/icon-svg-example/icon-svg-example.html rename to src/app/examples/icon-svg/icon-svg-example.html diff --git a/src/app/examples/icon-svg-example/icon-svg-example.ts b/src/app/examples/icon-svg/icon-svg-example.ts similarity index 100% rename from src/app/examples/icon-svg-example/icon-svg-example.ts rename to src/app/examples/icon-svg/icon-svg-example.ts diff --git a/src/assets/plunker/examples/icon-svg/assets/img/examples/thumbup-icon.svg b/src/assets/plunker/examples/icon-svg/assets/img/examples/thumbup-icon.svg new file mode 100644 index 000000000..2391a9f66 --- /dev/null +++ b/src/assets/plunker/examples/icon-svg/assets/img/examples/thumbup-icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/plunker/examples/icon-svg-example/icon-svg-example.css b/src/assets/plunker/examples/icon-svg/icon-svg-example.css similarity index 100% rename from src/assets/plunker/examples/icon-svg-example/icon-svg-example.css rename to src/assets/plunker/examples/icon-svg/icon-svg-example.css diff --git a/src/assets/plunker/examples/icon-svg-example/icon-svg-example.html b/src/assets/plunker/examples/icon-svg/icon-svg-example.html similarity index 100% rename from src/assets/plunker/examples/icon-svg-example/icon-svg-example.html rename to src/assets/plunker/examples/icon-svg/icon-svg-example.html diff --git a/src/assets/plunker/examples/icon-svg-example/icon-svg-example.ts b/src/assets/plunker/examples/icon-svg/icon-svg-example.ts similarity index 100% rename from src/assets/plunker/examples/icon-svg-example/icon-svg-example.ts rename to src/assets/plunker/examples/icon-svg/icon-svg-example.ts