1.4.2 • Published 5 years ago

@times-stories/story v1.4.2

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

@times-stories/story

The story component for the @times-stories suite of packages

Installation

$ yarn add @times-stories/story

Usage

<Story> is the core component in the @times-stories suite. It contains all the core logic for navigation between pages (<Page />) and handles mute control, animations and keyboard control.

All stories built with @times-stories start at a <Story> component.

import Story from "@times-stories/story";
import Page from "@times-stories/page";

export default () => (
  <Story
    outboundDelay={400}
    withKeyboardControls={true}
    withAnimations={true}
    accentColor={{
      red: 255,
      green: 255,
      blue: 255,
      alpha: 0.8
    }}
    onPageChange={() => {}}
  >
    <Page>{props => ()}</Page>
  </Story>
);
1.4.2

5 years ago

1.4.1

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago