File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,13 @@ const StoryContainer = (props: StoryContainerProps) => {
138138 </ View >
139139 </ View >
140140
141- < View style = { styles . progressView } >
141+ < View style = { {
142+ flex : 1 ,
143+ width : props ?. progressView ?. width ?? Dimensions . get ( 'window' ) . width , // Important
144+ position : 'absolute' ,
145+ flexDirection : 'row' ,
146+ backgroundColor : props ?. progressView ?. backgroundColor ?? TINT_GRAY ,
147+ } } >
142148 < ProgressView
143149 enableProgress = {
144150 props . enableProgress != undefined
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export interface StoryContainerProps extends CommonProps {
2929
3030 replyView ?: ReplyProps | undefined
3131 footerComponent ?: FunctionComponentElement < CommonProps > | undefined
32-
32+ progressView ?: { width : number ; backgroundColor : string } | undefined
3333 onComplete : Function ,
3434}
3535
You can’t perform that action at this time.
0 commit comments