Button
The native counterpart of the web Button: the same five variants and three sizes, as a TouchableOpacity announced as a button. A label that is only an icon needs accessibilityLabel.
Examples
Loading examples…
API
From COMPONENTS.md; setup for every native component is on React Native.
| Component | Notes |
|---|---|
Button |
primary/secondary/accent/ghost/danger variants. Announced as a button (with disabled state); accessibilityLabel is required when the content is only a glyph — see below. |