DefinitelyTyped/types/react-youtube-embed/index.d.ts
Ferdy Budhidharma bc0c933415 feat(react-dependents): update to TS 2.8 (part 2 of 2) (#27744)
* feat(react-dependents): update to ts 2.8

* fix version mismatches

* remove package.json

* post merge updates

* add package.json back again
2018-08-06 06:28:42 +01:00

18 lines
550 B
TypeScript

// 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;
prependSrc?: string;
appendSrc?: string;
width?: number;
}
export default class YouTubeEmbed extends React.Component<YouTubeEmbedProps> {}