stories: use web animations api to simplify progress bar/playback

This commit is contained in:
Jamie Kyle 2022-10-13 14:40:43 -07:00 committed by GitHub
parent b2792639aa
commit 9ee0502553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 76 additions and 81 deletions

View file

@ -67,6 +67,9 @@ export default {
toggleHasAllStoriesMuted: { action: true },
viewStory: { action: true },
},
args: {
currentIndex: 0,
},
} as Meta;
const Template: Story<PropsType> = args => <StoryViewer {...args} />;