react-native-ui-lib
react-native-ui-lib copied to clipboard
Feat/segemented control new UI preset
Description
Segmented Control Form preset added. I created a "hook" that returns new props according to the preset.
Changelog
SegmentedControl - New form preset added.
Additional info
MADS-4065
@nitzanyiz Where is the example?
@nitzanyiz Looks great. Left small comments. Also, I have a warning poping-up "Each child in a list should have a unique "key" prop. Check the render method of 'SegmentedControl'". Please take a look
Oh sorry. Figma link:
Please don't add private links to the public repo. I meant the example in the demo screen...
- change to enum and set it on the component
- added the preset change to the screen
- removed the extra reanimated view if there is no divider.