1.0.1 • Published 6 months ago
@shahulul1/react-native-boiler-library v1.0.1
react-native-boiler-library
created based on study purpose
Installation
npm install react-native-boiler-library
Usage
import { multiply,subscribeForCloseButton,unSubscribeForCloseButton } from 'react-native-boiler-library';
// ...
const result = await multiply(3, 7);
React.useEffect(() => {
subscribeForCloseButton("event", (data) => {
console.log("event triggered", data)
})
return ()=> {
unSubscribeForCloseButton("event")
}
}, [])
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