API reference
Generated from the library's TypeScript, so it cannot drift from the implementation.
Props
6 on TouchableRippleProps
Also accepts everything from Omit<
PressableProps,
"style" | "children"
>.
boolean
default: false
Skip the container background so the layer only tints the child.
number
Matches the parent's corner radius so the layer doesn't bleed out.
string
Colour of the state layer itself — the M3 "on" role of the surface.
Defaults to `onSurface`.
string
Surface the state layer is drawn over. Defaults to `surface`.