Skip to content

shahulul1/react-native-boiler-library

Repository files navigation

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

About

This branch explains the communication between react native to native(Swift, SwiftUI, Event, Promise)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published