Preparing search index...

    Props for the DatabasePickerDialog component

    type DatabasePickerDialogProps<T extends { name: string }> = {
        testId: string;
        isVisible: boolean;
        title: string;
        items: T[];
        onSelect: (item: T) => void;
        onDismiss: () => void;
    }

    Type Parameters

    • T extends { name: string }

      Item type that must have at least a name property

    Index

    Properties

    testId: string
    isVisible: boolean
    title: string
    items: T[]
    onSelect: (item: T) => void
    onDismiss: () => void