@komo-tech/react-native-widgets
TypeScript icon, indicating that this package has built-in type declarations

0.4.4 • Public • Published

React Native Komo Widgets

Embed Komo content in your React Native applications.

Installation

npm install @komo-tech/react-native-widgets

NOTE: This package has a peer dependency on react-native-webview, and recommends the latest major version, 11.x.

Usage

From the Komo portal, navigate to the settings of the card to be embedded. Select the Embed tab and copy the Native embed URL in the right sidebar. Pass as a prop to the KomoCardWidget, along with any optional styling or render props shown by the component prop typing.

import { KomoCardWidget } from '@komo-tech/react-native-widgets';

// ...

<KomoCardWidget 
    embedUrl={KomoCardNativeEmbedUrl} 
    containerStyle={{ maxWidth: '80%' }}
/>;

Package Sidebar

Install

npm i @komo-tech/react-native-widgets

Weekly Downloads

340

Version

0.4.4

License

MIT

Unpacked Size

93.9 kB

Total Files

83

Last publish

Collaborators

  • komotech
  • timeitel