@cedelabs/widgets-universal
v1.6.0
Published
Easily display some [Cede.store](https://cede.store) features inside your web application, whatever the UI library you use!
Downloads
3,264
Readme
Cede.store universal widgets
Easily display some Cede.store features inside your web application, whatever the UI library you use!
What does this package?
- Detects if Cede.store is available in the browser context.
- If it is, it displays the Cede.store send widget.
- It it isn't, it displays a simple UI to install Cede.store in order to be able to use the widget.
Documentation
For full documentation and examples, visit docs.cede.store.
Installation
npm install @cedelabs/widgets-universal
Usage
import { renderSendWidget } from '@cedelabs/widgets-universal'
const rootSelector = "#cede-widget"
renderSendWidget(rootSelector)