Skip to content

Commit

Permalink
Merge pull request carbon-design-system#656 from theiliad/update-demo…
Browse files Browse the repository at this point in the history
…-data

* chore(core, react, angular, vue, svelte): update demo data

* update angular storybook demos

* Update packages/core/demo/data/index.ts

Co-authored-by: Donisius Wigie <[email protected]>

* Update packages/core/demo/data/index.ts

Co-authored-by: Donisius Wigie <[email protected]>
  • Loading branch information
2 people authored and linhenry0417 committed Jul 23, 2020
1 parent 4fb1b8f commit b221c7d
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 64 deletions.
4 changes: 2 additions & 2 deletions packages/angular/stories/all.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { withKnobs, object } from "@storybook/addon-knobs";

import { ChartsModule } from "../src/charts.module";

import { demoGroups } from "@carbon/charts/demo/data";
import { storybookDemoGroups } from "@carbon/charts/demo/data";

const getTemplate = demo => `
<div class="container theme--white">
Expand Down Expand Up @@ -38,7 +38,7 @@ const getTemplate = demo => `
`;

// Loop through all demo groups
demoGroups.forEach(demoGroup => {
storybookDemoGroups.forEach(demoGroup => {
// Create story group for each demo group
const groupStories = storiesOf(demoGroup.title, module).addDecorator(
withKnobs({ escapeHTML: false })
Expand Down
Loading

0 comments on commit b221c7d

Please sign in to comment.