Skip to content

Commit

Permalink
Merge pull request #22 from VisActor/feat/shape-component
Browse files Browse the repository at this point in the history
feat: support shapeComponent & add infographic demo
  • Loading branch information
neuqzxy authored Jul 18, 2024
2 parents 4a153cd + ace68a7 commit ad3f846
Show file tree
Hide file tree
Showing 8 changed files with 496 additions and 21 deletions.
5 changes: 5 additions & 0 deletions packages/vstory/demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { StoryEdit } from './demos/StoryEdit';
import { Appear } from './demos/Appear';
import { GraphicEdit } from './demos/GraphicEdit';
import { Playground } from './demos/Playground';
import { Pictogram } from './demos/infographics/Pictogram';

const App = () => {
const [activeIndex, setActiveIndex] = useLocalStorage('menuIndex', 0);
Expand Down Expand Up @@ -74,6 +75,10 @@ const App = () => {
{
name: 'Playground',
component: Playground
},
{
name: 'Infographic-Pictogram',
component: Pictogram
}
];
const selectedMenu = menus[activeIndex ?? menus.length - 1];
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ad3f846

Please sign in to comment.