1.0.4 • Published 1 year ago

@types/react-embed-gist v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Installation

npm install --save @types/react-embed-gist

Summary

This package contains type definitions for react-embed-gist (https://github.com/msaracevic/react-embed-gist#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-embed-gist.

index.d.ts

// Type definitions for react-embed-gist 1.0
// Project: https://github.com/msaracevic/react-embed-gist#readme
// Definitions by: James Simon <https://github.com/jsmon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.1

import * as React from 'react';

export interface Props {
    gist: `${string}/${string}`;
    wrapperClass?: string;
    loadingClass?: string;
    titleClass?: string;
    contentClass?: string;
    errorClass?: string;
    file?: string;
}

export default class ReactEmbedGist extends React.Component<Props> {
    render(): React.ReactNode;
}

Additional Details

  • Last updated: Thu, 05 Aug 2021 20:31:25 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by James Simon.