Hiyve Components - v1.0.0
    Preparing search index...

    Interface FileScopeSelectorProps

    interface FileScopeSelectorProps {
        disabled?: boolean;
        labels?: Partial<Record<FileScope, string>>;
        onChange: (scope: FileScope) => void;
        scopes: FileScope[];
        value: FileScope;
    }
    Index

    Properties

    disabled?: boolean

    Disable the selector (e.g. during a refresh).

    labels?: Partial<Record<FileScope, string>>

    Optional label overrides.

    onChange: (scope: FileScope) => void

    Fired when the user picks a different scope.

    scopes: FileScope[]

    Scopes the user is allowed to access. At most two values; only renders when length > 1.

    value: FileScope

    Currently selected scope.