react-native-eocean-mobile-chat
v1.3.1
Published
Mobile app chat
Readme
react-native-eocean-mobile-chat
demo project for react-native-my-button-demo-sanir
Installation
npm install react-native-webview
npm install react-native-eocean-mobile-chatUsage
import AppButton from 'react-native-eocean-mobile-chat';
const username = 'John';
const propertyId='1234556'
const additionalInfo = {
address: '123 Main St',
phone_number: '555-1234',
email: '[email protected]'
};
<AppButton buttonStyle={{ height: 48,
marginTop: 0,
paddingTop: 8,
paddingBottom: 8,
backgroundColor: '#286A50',
borderRadius: 8,
borderWidth: 1,
borderColor: '#fff',
justifyContent: 'center',}}
username={username}
buttonTextVal="Chat With Us"
propertyId={propertyId}
additionalInfo={additionalInfo} // This prop is optional
/>
// ...Props
username(string): The username of the user.propertyId(string): The property ID.buttonTextVal(string): The text to display on the button.additionalInfo(object, optional): An optional object containing additional information about the user. This can include:address(string): The address of the user.phone_number(string): The phone number of the user.email(string): The email address of the user.
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
