Created
November 6, 2019 15:39
-
-
Save radist2s/d148ef02c9a74934bcf934a7eb5cd06b to your computer and use it in GitHub Desktop.
react-load-script TypeScript definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'react-load-script' { | |
import {Component} from 'react' | |
export interface ILoadScriptProps { | |
url: string | |
onCreate?: () => void | |
onError?: () => void | |
onLoad?: () => void | |
} | |
export default class LoadScript extends Component<ILoadScriptProps> { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment