Installation
npm install --save @types/react-youtube-embed
Summary
This package contains type definitions for react-youtube-embed (https://github.com/escaladesports/react-youtube-embed#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-youtube-embed.
index.d.ts
import * as React from "react";
export interface YouTubeEmbedProps {
id: string;
aspectRatio?: string | undefined;
prependSrc?: string | undefined;
appendSrc?: string | undefined;
width?: number | undefined;
}
export default class YouTubeEmbed extends React.Component<YouTubeEmbedProps> {}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Charles Salmon.