Getting started
Installation
npm install @3deye-toolkit/react-camera
Usage
import React from 'react';
import { app } from '@3deye-toolkit/core';
import Camera from '@3deye-toolkit/react-camera';
import '@3deye-toolkit/react-camera/dist/react-camera.css';
app.init({ token: YOUR_TOKEN_OBJECT });
function App() {
return <Camera cameraId={23529} style={{ width: 640, height: 360 }} />;
}