UNPKG

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

29 lines (28 loc) 1.5 kB
{ "name": "StackAggregator", "category": "basic", "description": "Stack aggregator component", "modifiers": ["margin", "padding"], "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/StackAggregatorScreen.tsx", "images": [], "props": [ {"name": "collapsed", "type": "boolean", "description": "The initial state of the stack"}, {"name": "children", "type": "JSX.Element | JSX.Element[]", "description": "Component Children"}, {"name": "containerStyle", "type": "ViewStyle", "description": "The container style"}, {"name": "contentContainerStyle", "type": "ViewStyle", "description": "The content container style"}, {"name": "itemBorderRadius", "type": "number", "description": "The items border radius"}, {"name": "buttonProps", "type": "ButtonProps", "description": "Props passed to the 'show less' button"}, {"name": "onItemPress", "type": "(index: number) => void", "description": "A callback for item press"}, { "name": "onCollapseWillChange", "type": "(changed: boolean) => void", "description": "A callback for collapse state will change (value is future collapsed state)" }, { "name": "onCollapseChanged", "type": "(changed: boolean) => void", "description": "A callback for collapse state change (value is collapsed state)" }, {"name": "disablePresses", "type": "boolean", "description": "A setting that disables pressability on cards"} ] }