mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-03-29 09:08:32 +08:00
* Change 'accessible' to align with React Native. * Add support for 'importantForAccessibility'. * Stop event propagation for keyboard-activated Touchables (nested Touchables now respond the same as when touch-activated). * Fix whitespace layout of nested Text elements. * Use 'div' for Text to improve TalkBack grouping. * Rewrite accessibility docs. Close #382 Fix #408
28 lines
445 B
Markdown
28 lines
445 B
Markdown
# ProgressBar
|
|
|
|
Display an activity progress bar.
|
|
|
|
## Props
|
|
|
|
[...View props](./View.md)
|
|
|
|
**color**: ?string = '#1976D2'
|
|
|
|
Color of the progress bar.
|
|
|
|
**indeterminate**: ?boolean = true
|
|
|
|
Whether the progress bar will show indeterminate progress.
|
|
|
|
**progress**: ?number
|
|
|
|
The progress value (between 0 and 1).
|
|
|
|
**testID**: ?string
|
|
|
|
Used to locate this view in end-to-end tests.
|
|
|
|
(web) **trackColor**: ?string = 'transparent'
|
|
|
|
Color of the track bar.
|