@types/react-youtube-embed
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-youtube-embed

Weekly Downloads

356

Version

1.0.4

License

MIT

Unpacked Size

3.37 kB

Total Files

5

Last publish

Collaborators

  • types