React SDK

Sorting

The Sorting component is used to capture user input on how to sort search results.

Usage

Additional imports used in the examples:

Editable Example
Suggestions
    Powered by

    Loading...

    Props

    NameTypeDefaultDescription
    labelstring"Sort"
    optionsArray<{name: string, value: string}>[{name: "Most relevant", value: ""}]
    sizesm | md | lgmdSets the text and input size.
    inlinebooleantrueWhether to render label and control inline.