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
17 lines (16 loc) • 811 B
JSON
{
"name": "Icon",
"category": "basic",
"description": "Icon component",
"extends": ["Image"],
"extendsLink": ["https://reactnative.dev/docs/image"],
"modifiers": ["margin"],
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/IconScreen.tsx",
"props": [
{"name": "assetName", "type": "string", "description": "if provided icon source will be driven from asset name"},
{"name": "assetGroup", "type": "string", "description": "the asset group, default is icons"},
{"name": "tintColor", "type": "string", "description": "The icon tint"},
{"name": "size", "type": "number", "description": "The icon size"},
{"name": "supportRTL", "type": "boolean", "description": "whether the image should flip horizontally on RTL locals"}
]
}