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

1.0.4 • Public • Published

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

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: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-embed-gist

Weekly Downloads

5

Version

1.0.4

License

MIT

Unpacked Size

3.19 kB

Total Files

5

Last publish

Collaborators

  • types