stories: use web animations api to simplify progress bar/playback
This commit is contained in:
parent
b2792639aa
commit
9ee0502553
3 changed files with 76 additions and 81 deletions
|
@ -67,6 +67,9 @@ export default {
|
|||
toggleHasAllStoriesMuted: { action: true },
|
||||
viewStory: { action: true },
|
||||
},
|
||||
args: {
|
||||
currentIndex: 0,
|
||||
},
|
||||
} as Meta;
|
||||
|
||||
const Template: Story<PropsType> = args => <StoryViewer {...args} />;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue