@nextcloud/files

    Interface IFileListFilterChip

    Active filters can provide one or more "chips" to show the currently active state. Must at least provide a text representing the filters state and a callback to unset that state (disable this filter).

    interface IFileListFilterChip {
        icon?: string;
        onclick: () => void;
        text: string;
        user?: string;
    }
    Index

    Properties

    Properties

    icon?: string

    Optional icon to be used on the chip (inline SVG as string)

    onclick: () => void

    Handler to be called on click

    text: string

    Text of the chip

    user?: string

    Optional pass a user id to use a user avatar instead of an icon

    MMNEPVFCICPMFPCPTTAAATR