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
28 lines (27 loc) • 892 B
JSON
{
"name": "Overlay",
"category": "basic",
"description": "Overlay view with types",
"extends": ["Image"],
"extendsLink": ["https://reactnative.dev/docs/image"],
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/OverlaysScreen.tsx",
"props": [
{
"name": "type",
"type": "vertical | top | bottom | solid (OverlayTypeType)",
"description": "The type of overlay to set on top of the image"
},
{
"name": "intensity",
"type": "low | medium | high",
"description": "The intensity of the gradient.",
"default": "OverlayIntensityType.LOW"
},
{"name": "color", "type": "string", "description": "The overlay color"},
{
"name": "customContent",
"type": "JSX.Element",
"description": "Custom overlay content to be rendered on top of the image"
}
]
}