Skip to content

Commit

Permalink
fix(types): add enableFlex to ScrollViewProps (#5142)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunskyXH authored and luckyadam committed Jan 7, 2020
1 parent 6bbb328 commit e2c262c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/taro-components/types/ScrollView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ export interface ScrollViewProps extends StandardProps {
*/
enableBackToTop?: boolean,

/**
* 启用 flexbox 布局。开启后,当前节点声明了 display: flex 就会成为 flex container,并作用于其孩子节点。
*
* 默认值:`false`
*/
enableFlex?: boolean,

/**
* 在设置滚动条位置时使用动画过渡
*
Expand Down

0 comments on commit e2c262c

Please sign in to comment.