View as Markdown

API reference: @salmonui/kanban

KanbanCardFieldsinterface

import type { KanbanCardFields } from '@salmonui/kanban';
interface KanbanCardFields {
    readonly headerField?: string | undefined;
    readonly contentField?: string | undefined;
    readonly tagsField?: string | undefined;
    readonly accentField?: string | undefined;
}

Default card fields.

KanbanCardFields members (4)
NameSignatureDescription
headerFieldoptionalreadonly headerField?: string | undefined;
contentFieldoptionalreadonly contentField?: string | undefined;
tagsFieldoptionalreadonly tagsField?: string | undefined;

Comma-separated string or string array.

accentFieldoptionalreadonly accentField?: string | undefined;

A CSS color (data color, used as given) for the card's accent edge.