pankod/pankod-cli

View on GitHub
src/Templates/nextjs/Interfaces/Component.mustache

Summary

Maintainability
Test Coverage
// #region Global Imports
import { Props } from 'prop-types';
// #endregion Global Imports

declare module I{{fileName}} {
    export interface IProps extends Props<{}> {
  
    }
    {{#isClass}}
    export interface IState { }
    export interface IStateProps { }
    {{/isClass}}

    {{#isConnectStore}}
    module Actions {
        export interface IMapPayload { }
        export interface IMapResponse { }
    }
    {{/isConnectStore}}
}