mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Cleanup types
This commit is contained in:
parent
f900a01277
commit
c7e76363df
@ -1,11 +1,11 @@
|
|||||||
import { useEffect, useRef, ReactNode } from "react";
|
import { useEffect, useRef, ReactElement } from "react";
|
||||||
import videojs from 'video.js';
|
import videojs from 'video.js';
|
||||||
import 'videojs-playlist';
|
import 'videojs-playlist';
|
||||||
import 'video.js/dist/video-js.css';
|
import 'video.js/dist/video-js.css';
|
||||||
import Player from "video.js/dist/types/player";
|
import Player from "video.js/dist/types/player";
|
||||||
|
|
||||||
type VideoPlayerProps = {
|
type VideoPlayerProps = {
|
||||||
children?: ReactNode[],
|
children?: ReactElement | ReactElement[],
|
||||||
options?: {
|
options?: {
|
||||||
[key: string]: any
|
[key: string]: any
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user