@nu-art/thunder
Version:
Thunder - React & Typescript based frontend framework
14 lines (13 loc) • 334 B
TypeScript
import * as React from 'react';
declare type Props = {
src: string;
onLoaded: (src: string) => void;
};
export declare class SimpleScriptInjector extends React.Component<Props> {
static readonly injected: {
[src: string]: HTMLScriptElement;
};
componentDidMount(): void;
render(): string;
}
export {};