adminjs
Version:
Admin panel for apps written in node.js
29 lines (28 loc) • 1.07 kB
TypeScript
import React, { ReactNode } from 'react';
type State = {
isClient: boolean;
};
type PropsFromState = {
dashboard: {
component?: string;
};
};
declare class Dashboard extends React.Component<PropsFromState, State> {
constructor(props: PropsFromState);
componentDidMount(): void;
render(): ReactNode;
}
declare const _default: React.ComponentType<{
key?: React.Key | null | undefined;
ref?: React.LegacyRef<Dashboard> | undefined;
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
} & {
OriginalComponent?: React.ComponentType<{
key?: React.Key | null | undefined;
ref?: React.LegacyRef<Dashboard> | undefined;
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
}> | undefined;
}>;
export default _default;