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.39 kB
{ "name": "ActionBar", "category": "basic", "description": "Quick actions bar, each action support Button component props", "extends": ["View"], "extendsLink": ["https://github.com/wix/react-native-ui-lib/blob/master/src/components/view/index.tsx"], "modifiers": ["margin", "padding"], "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ActionBarScreen.tsx", "images": ["https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/ActionBar/ActionBar.gif?raw=true"], "props": [ {"name": "actions", "type": "ButtonProps[]", "description": "The actions for the action bar", "required": true}, {"name": "height", "type": "number", "description": "Height", "default": "48"}, {"name": "backgroundColor", "type": "string", "description": "Background color", "default": "Colors.white"}, {"name": "centered", "type": "boolean", "description": "Should action be equally centered"}, { "name": "keepRelative", "type": "boolean", "description": "Keep the action bar position relative instead of it absolute position" }, { "name": "useSafeArea", "type": "boolean", "description": "In iOS, use safe area, in case component attached to the bottom", "default": "true" }, {"name": "style", "type": "ViewStyle", "description": "Component's style"} ] }