1.0.4 • Published 6 months ago

@types/react-youtube-embed v1.0.4

Weekly downloads
134
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-youtube-embed 1.0
// Project: https://github.com/escaladesports/react-youtube-embed#readme
// Definitions by: Charles Salmon <https://github.com/charles-salmon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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: Thu, 08 Jul 2021 22:41:45 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Charles Salmon.