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

0.0.7 • Public • Published

Tunnel React SDK

Tunnel gives developers a better way to share their work with others. With Tunnel, you and your team can collaborate and give product feedback throughout the entire product lifecycle.

@tunnel/react exports a React component that makes it easy to add Tunnel's collaboration and review tools to any React application.

Getting Started

Installation

npm install @tunnel/react

Usage

import { TunnelToolbar } from '@tunnel/react';

export default function App() {
  return (
    <>
      <h1>My App</h1>
      {process.env.APP_ENV === 'staging' && (
        <TunnelToolbar projectId="YOUR_PROJECT_ID" />
      )}
    </>
  );
}

For more information and examples, visit our Documentation.

Support

Get in touch with us by:

Readme

Keywords

none

Package Sidebar

Install

npm i @tunnel/react

Weekly Downloads

13

Version

0.0.7

License

none

Unpacked Size

5.91 kB

Total Files

7

Last publish

Collaborators

  • leonsilicon