@times-stories/navigation
v1.2.2
Published
> The navigation for the `@times-stories` suite of packages
Downloads
7
Keywords
Readme
@times-stories/navigation
The navigation for the
@times-stories
suite of packages
Installation
$ yarn add @times-stories/navigation
Usage
It is unlikely you'll need to use this component, unless you are building a custom Story implementation.
import StoryContext from "@times-stories/context";
import { NextButton, PreviousButton } from "@times-stories/navigation";
export default () => (
<StoryContext.Provider>
<NextButton />
<PreviousButton />
</StoryContext.Provider>
);