-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
hey there, came across your component, thanks for creating it!
before i dive into some testing of the api etc i thought I'd post this as you will have an immediate idea whether this is possible. we've got the following button mockup. when the user presses it, we want it to animate to an "on" switch state where the button looks like its been physically pressed inwards. to get the effect we're after it looks like the button itself, would be 2 Views (the light green View on top of the dark green view which would be positioned with 'absolute' & zIndex). that's just one approach tho, perhaps a different way is fine too..
if the user taps the button again, the it would return back to the "off" state (as per this example image)
Metadata
Metadata
Assignees
Labels
No labels
