Skip to content

Commit fbf8602

Browse files
committed
readme
1 parent d27a9b2 commit fbf8602

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Property | Type | Default | Description
5151
`header` | Component | Default header as in demo | A header component which sits at the top of each story. It receives the `header` object from the `story` object. Data for header to be sent with each story object.
5252
`width` | Number | 360 | Width of the component in pixels
5353
`height` | Number | 640 | Height of the component in pixels
54+
`storyStyles` | Object | none | Override the default story styles mentioned below.
55+
5456

5557
### Story object
5658
Instead of simple string url, a comprehensive 'story object' can also be passed in the `stories` array.
@@ -62,7 +64,7 @@ Property | Description
6264
`header` | Optional. Adds a header on the top. Object with `heading`, `subheading` and `profileImage` properties.
6365
`seeMore` | Optional. Adds a see more icon at the bottom of the story. On clicking, opens up this component.
6466
`type` | Optional. To distinguish a video story. `type: 'video'` is necessary for a video story.
65-
`storyStyles` | Optional. Override the default story styles mentioned below.
67+
`styles` | Optional. Override the default story styles mentioned below.
6668

6769
### Default story styles
6870
Following are the default story content styles. Override them by providing your own style object with each story or a global override by using the `storyStyles` prop.

0 commit comments

Comments
 (0)