ActivityIndicator

ActivityIndicator

Displays a circular loading indicator.

Props

ViewPropTypes props...

animating?: PropTypes.bool

Whether to show the indicator (true, the default) or hide it (false).

color?: color

The foreground color of the spinner (default is gray).

size?: PropTypes.oneOfType([ PropTypes.oneOf([ 'small', 'large' ]), PropTypes.number, ])

Size of the indicator (default is 'small'). Passing a number to the size prop is only supported on Android.

ioshidesWhenStopped?: PropTypes.bool

Whether the indicator should hide when not animating (true by default).

© 2015–2017 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://facebook.github.io/react-native/docs/activityindicator.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部