@eohjsc/react-native-hts

0.6.48 • Public • Published

Install

  • yarn add @eohjsc/react-native-hts

  • If use react-native < 0.60

    $ react-native link @eohjsc/react-native-hts

  • iOS Platform:

    $ cd ios && pod install && cd .. # CocoaPods on iOS needs this extra step

Use

import HTS, {initSPConfig} from 'react-native-hts';


export const HTSStack = memo(() => {
  initSPConfig(config);

  ...

  return (
    <HTS
      auth={auth}
      onExitApp={onExitApp}
    />
  );
});

initSPConfig

Props Description Default
apiRoot Your baseURL https://backend.eoh.io/api

Props

Props Description Default
auth Your auth null
onExitApp Function called when you exit app goBack()

Package Sidebar

Install

npm i @eohjsc/react-native-hts

Weekly Downloads

0

Version

0.6.48

License

MIT

Unpacked Size

8.18 MB

Total Files

504

Last publish

Collaborators

  • hinh-eoh
  • bang_eoh
  • bangeoh