Skip to content

<TouchableNativeFeedback /> Component At Ripple Method #19863

Closed
@HamidReazaNikoonia

Description

my question is about (TouchableNativeFeedback) [[RectNativeComponent]] method

in react Native Document , facebook say

   static Ripple(color: string, borderless: boolean);

i want know how implement this and where must be called
| ReactNative :: 0.55.4 | | Platform :: Android . |

i use this method like this

     <TouchableNativeFeedback background={TouchableNativeFeedback.Ripple('green')}>
     </TouchableNativeFeedback>

But Im Testing This is my Emulator with last Android Version and also check in some Real Device with Different Android Version but still not working

Why ?
is it any problem in my implementation in code

 background={TouchableNativeFeedback.Ripple('green')}

or other reason ??
please HELP ME , Thanks 👍 👍

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions