You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs-gesture-handler/docs/components/clickable.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ If you were using `RectButton`, or `BorderlessButton` in your app, you can easil
16
16
17
17
### RectButton
18
18
19
-
To replace `RectButton` with `Clickable`, simply add `underlayActiveOpacity={0.105}` to your `Clickable` component. This will animate the underlay when the button is pressed.
19
+
To replace `RectButton` with `Clickable`, simply add `activeUnderlayOpacity={0.105}` to your `Clickable` component. This will animate the underlay when the button is pressed.
20
20
21
21
```tsx
22
22
<Clickable
23
23
...
24
-
underlayActiveOpacity={0.105}/>
24
+
activeUnderlayOpacity={0.105}/>
25
25
```
26
26
27
27
### BorderlessButton
@@ -66,7 +66,7 @@ export default function ClickableExample() {
0 commit comments