@intuitionrobotics/thunderstorm
Version:
22 lines • 598 B
TypeScript
import * as React from 'react';
export type PlaygroundProps = {
selectStyle: any;
iconClose: React.ReactNode;
iconOpen: React.ReactNode;
screens: PlaygroundScreen[];
};
type State = {
selectedScreen?: PlaygroundScreen;
};
export type PlaygroundScreen<T = any> = {
name: string;
renderer: React.ComponentType<T>;
data?: T[];
};
export declare class Playground extends React.Component<PlaygroundProps, State> {
constructor(props: PlaygroundProps);
render(): React.JSX.Element;
private renderPlayground;
}
export {};
//# sourceMappingURL=Playground.d.ts.map