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

    Type Alias RegisterDashlet

    RegisterDashlet: (
        title: string,
        width: 1 | 2 | 3,
        height: 1 | 2 | 3 | 4 | 5 | 6,
        position: number,
        component: React.ComponentClass<any> | React.FunctionComponent<any>,
        isVisible: (state: any) => boolean,
        props: PropsCallback,
        options: IDashletOptions,
    ) => void

    Type Declaration

      • (
            title: string,
            width: 1 | 2 | 3,
            height: 1 | 2 | 3 | 4 | 5 | 6,
            position: number,
            component: React.ComponentClass<any> | React.FunctionComponent<any>,
            isVisible: (state: any) => boolean,
            props: PropsCallback,
            options: IDashletOptions,
        ): void
      • Parameters

        • title: string
        • width: 1 | 2 | 3
        • height: 1 | 2 | 3 | 4 | 5 | 6

          Height of the dashlet in rows. Please note that 1 row is very slim, it's not commonly used in practice

        • position: number
        • component: React.ComponentClass<any> | React.FunctionComponent<any>
        • isVisible: (state: any) => boolean
        • props: PropsCallback
        • options: IDashletOptions

        Returns void