UNPKG

react-loom-player

Version:

This package provides a hassle-free way to implement a Loom player in your React application. By utilizing this package, you can easily embed Loom videos with various configuration options.

16 lines (13 loc) 433 B
import React from 'react'; type Config = { timestamps?: number | string; muted?: boolean; autoplay?: boolean; hideEmbedTopBar?: boolean; hideTitle?: boolean; hideOwner?: boolean; hideShare?: boolean; }; type LoomPlayerProps = React.IframeHTMLAttributes<HTMLIFrameElement> & Config; declare const LoomPlayer: ({ ...iframe_props }: LoomPlayerProps) => React.JSX.Element; export { LoomPlayer as default };