Circle V2 API Docs
    Preparing search index...

    Type Alias SelectProps

    SelectProps: Omit<SelectRootProps<SelectItem>, "collection"> & {
        inDialog?: boolean;
        items: SelectItem[];
        placeholder?: string;
        portalled?: boolean;
        ref?: React.Ref<HTMLDivElement>;
    }

    Type Declaration

    • OptionalinDialog?: boolean

      Use when rendering inside a Dialog/Drawer. Disables portalling and applies fixed positioning so the dropdown isn't clipped.

    • items: SelectItem[]
    • Optionalplaceholder?: string
    • Optionalportalled?: boolean

      Renders inside a portal by default. Set to false to inline.

    • Optionalref?: React.Ref<HTMLDivElement>