UNPKG

react-native-btr

Version:
13 lines (9 loc) 547 B
# Color Picker Horizontally scrollable circles with collors filled. [Example](https://github.com/ThakurBallary/react-native-btr-demo/tree/main/src/Components/ColorPicker.tsx) ### Props Key | Type | Default ----|----|---- colors | array | ["#F44336", "#E91E63", "#9C27B0", "#673AB7", "#3F51B5", "#2196F3", "#03A9F4", "#00BCD4", "#009688", "#4CAF50", "#8BC34A", "#CDDC39", "#FFEB3B", "#FFC107", "#FF9800", "#FF5722", "#795548", "#9E9E9E", "#607D8B"] selectedColor | string | '#F44336' onSelect | function | selectedColor => alert(selectedColor)