From 04eae360a71e99e07eac0071e57fb09e56769d95 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 8 Jan 2023 21:22:20 +0900 Subject: [PATCH] Rework Pressable to handle ripple on android --- front/packages/primitives/src/icons.tsx | 5 +++-- front/packages/ui/src/player/components/hover.tsx | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/front/packages/primitives/src/icons.tsx b/front/packages/primitives/src/icons.tsx index 5ec298bc..07ec5363 100644 --- a/front/packages/primitives/src/icons.tsx +++ b/front/packages/primitives/src/icons.tsx @@ -19,10 +19,11 @@ */ import React, { ComponentProps, ComponentType, ForwardedRef, forwardRef } from "react"; -import { Pressable, Platform, PressableProps, ViewStyle } from "react-native"; +import { Platform, PressableProps, ViewStyle } from "react-native"; import { SvgProps } from "react-native-svg"; import { YoshikiStyle } from "yoshiki/dist/type"; import { px, useYoshiki } from "yoshiki/native"; +import { PressableFeedback } from "./links"; import { ts } from "./utils"; declare module "react" { @@ -71,7 +72,7 @@ export const IconButton = forwardRef(function _IconButton