s-private API Documentation - v3.8.1
    Preparing search index...

    Function CommandInput

    • Search input for the command palette.

      Parameters

      • props: Omit<
            Pick<
                Pick<
                    DetailedHTMLProps<
                        InputHTMLAttributes<HTMLInputElement>,
                        HTMLInputElement,
                    >,
                    "key" | (keyof InputHTMLAttributes<HTMLInputElement>),
                > & {} & {},
                "key" | "asChild" | (keyof InputHTMLAttributes<HTMLInputElement>),
            >,
            "type" | "onChange" | "value",
        > & {} & RefAttributes<HTMLInputElement> & {
            onSearchClick?: () => Promise<void>;
        }

        cmdk Input props plus optional onSearchClick handler

      Returns Element

      A styled search input

      Filters command items as the user types. Optionally includes a search button for explicit search trigger.

      Command for parent component