@tngl-me/embed-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Tngl.me React Components for Embedding Tngl.me content

A module containing components to embed interactive content from the tngl.me site.

Usage

Import the module in React and then use the component in your render method.

import { TnglMeEmbedQr } from "@tngl-me/embed-react";
<TnglMeEmbedQR
    handle="tngl-me"
    name="donations"
    clickToCopyAddress={true}
    onClick={(data) => console.log(data)}
    onData={(data) => console.log(data)}
/>

See the tngl.me for more information about usage.

Contributing

Contributions are always welcome to the project. Feel free to raise issues, create pull requests or just make suggestions.

Authors

Come and find us on the IOTA Discord development channels

Donations

IOTA donations are always welcome 😄

donations@tngl-me

License

This project is licensed under the MIT License - see the LICENSE file for details.

Package Sidebar

Install

npm i @tngl-me/embed-react

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

63 kB

Total Files

15

Last publish

Collaborators

  • martynjanes