Type Alias ClndrOptions

ClndrOptions: Partial<Omit<DefaultOptions,
    | "classes"
    | "defaultView"
    | "pagination"
    | "render"
    | "targets"> & {
    classes?: {
        [key in ItemStatus]?: string
    };
    defaultView?: View;
    pagination?: {
        [key in View]?: Pagination
    };
    targets?: {
        [key in TargetOption]?: string
    };
}> & {
    render: RenderFn | {
        [key in View]?: RenderFn
    };
}

See the DefaultOptions for the documentation of the individual parameters. You might also want to look at the Storybook demos for interactively setting options on the demos.

Type declaration

  • render: RenderFn | {
        [key in View]?: RenderFn
    }

    The function rendering your template. This may also be an object with the keys referring to the views to enable if switching between views is to be enabled.