Plants vs. Zombies: Replanted - v1.0.3
    Preparing search index...

    Type Alias RegisterToDo

    RegisterToDo: (
        id: string,
        type: ToDoType,
        props: (state: any) => any,
        icon: ((props: any) => JSX.Element) | string,
        text: ((t: TFunction, props: any) => JSX.Element) | string,
        action: (props: any) => void,
        condition: (props: any) => boolean,
        value: ((t: TFunction, props: any) => JSX.Element) | string,
        priority: number,
    ) => void

    Type Declaration

      • (
            id: string,
            type: ToDoType,
            props: (state: any) => any,
            icon: ((props: any) => JSX.Element) | string,
            text: ((t: TFunction, props: any) => JSX.Element) | string,
            action: (props: any) => void,
            condition: (props: any) => boolean,
            value: ((t: TFunction, props: any) => JSX.Element) | string,
            priority: number,
        ): void
      • Parameters

        • id: string
        • type: ToDoType
        • props: (state: any) => any
        • icon: ((props: any) => JSX.Element) | string
        • text: ((t: TFunction, props: any) => JSX.Element) | string
        • action: (props: any) => void
        • condition: (props: any) => boolean
        • value: ((t: TFunction, props: any) => JSX.Element) | string
        • priority: number

        Returns void