use-chromecast-caf-sender
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Use Chromecast sender npm npm type definitions

React hook to use the Chromecast sender SDK in your project.

Installation

npm install use-chromecast-caf-sender

How to use

import { useChromecastSender } from 'use-chromecast-caf-sender'

const Component = () => {
	const { cast } = useChromecastSender()

	return <div>{cast === null ? 'Loading' : 'Cast sender sdk is loaded'}</div>
}

Development

  • Install dependencies: npm ci
  • Build the package: npm run dev

Package Sidebar

Install

npm i use-chromecast-caf-sender

Weekly Downloads

23

Version

0.0.5

License

ISC

Unpacked Size

9.03 kB

Total Files

8

Last publish

Collaborators

  • onset