react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
24 lines (23 loc) • 855 B
JSON
{
"name": "ChipsInput",
"category": "incubator",
"description": "A chips input",
"extends": ["Incubator/TextField"],
"modifiers": ["margin", "color", "typography"],
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/incubatorScreens/IncubatorChipsInputScreen.tsx",
"images": [],
"props": [
{"name": "chips", "type": "ChipProps[]", "description": "List of chips to render"},
{
"name": "defaultChipProps",
"type": "ChipProps",
"description": "Default set of props to pass by default to all chips"
},
{
"name": "onChange",
"type": "(newChips, changeReason, updatedChip) => void",
"description": "Callback for chips change (adding or removing chip)"
},
{"name": "maxChips", "type": "number", "description": "The maximum chips to allow adding"}
]
}