You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`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.
52
52
`width` | Number | 360 | Width of the component in pixels
53
53
`height` | Number | 640 | Height of the component in pixels
54
+
`storyStyles` | Object | none | Override the default story styles mentioned below.
55
+
54
56
55
57
### Story object
56
58
Instead of simple string url, a comprehensive 'story object' can also be passed in the `stories` array.
@@ -62,7 +64,7 @@ Property | Description
62
64
`header` | Optional. Adds a header on the top. Object with `heading`, `subheading` and `profileImage` properties.
63
65
`seeMore` | Optional. Adds a see more icon at the bottom of the story. On clicking, opens up this component.
64
66
`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.
66
68
67
69
### Default story styles
68
70
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