React 组建包裹了只是 Android 部分的 ProgressBar
。这个组件是被用来提示这个应用正在加载或者在应用里面有一些操作。
成都创新互联公司自成立以来,一直致力于为企业提供从网站策划、网站设计、网站建设、成都网站建设、电子商务、网站推广、网站优化到为企业提供个性化软件开发等基于互联网的全面整合营销服务。公司拥有丰富的网站建设和互联网应用系统开发管理经验、成熟的应用系统解决方案、优秀的网站开发工程师团队及专业的网站设计师团队。
例子:
render: function() { var progressBar =; return ( ); },
styleAttr 样式属性
进度条的样式,包括:
Horizontal
Small
Large
Inverse
SmallInverse
LargeInverse
testID 字符串 在端对端测试里面被用来定位这个视图。
'use strict';var ProgressBar = require('ProgressBarAndroid');var React = require('React');var UIExplorerBlock = require('UIExplorerBlock');var UIExplorerPage = require('UIExplorerPage');var ProgressBarAndroidExample = React.createClass({ statics: { title: '', description: 'Visual indicator of progress of some operation. ' + 'Shows either a cyclic animation or a horizontal bar.', }, render: function() { return ( ); }, });module.exports = ProgressBarAndroidExample;