1.1.5 • Published 2 years ago
@devinvo/widgetlibrary v1.1.5
@devinvo/widgetlibrary
React Native library for widget
Installation
npm install react-native-webview@^13.2.2
npm install react-native-svg@^13.9.0
npm install @devinvo/widgetlibrary
Usage
vbUrl is required to use the widget
import Main from '@devinvo/widgetlibrary';
// ...
<Main vbUrl={'<insert videobanking url here>'} style={{<'put your custom styling here'>}}/>
Options
headerText
Text in the header of the option select menu
Type : String
headerTextColor
Color for text in the header
Type : String
headerColor
Color for menu header
Type : String
buttonText
Text to display in the widget button; default is a '+' icon
Type : String
buttonColor
Color for the widget button
Type : String
buttonTextColor
Font color for button text
Type : String
modules
Array of modules to show in the widget. Options are:
- video
- booking
- chat
Type : Array of string values
License
MIT
Made with create-react-native-library