SearchInput

Type: React component

Renders a TextInput with a submit button used for searching within a desired context. Optionally also renders an arbitrary results counter.

Props

  1. isDisabled

    (Optional)

    Default value

  2. name

    (Optional)

    Type: FDS~Name

    Default value

  3. onChange

    (Optional)

    Default value

  4. onSubmitButtonClick

    (Optional)

    Type: Function

    A callback that is called whenever the submit button is clicked.

    Default value

  5. placeholder

    (Optional)

    Default value

  6. renderResultsCounter

    (Optional)

    Type: Function

    Renders an arbitrary results counter, should generally return a Label.

    Default value

  7. tooltipContent

    (Optional)

    Default value

  8. validate

    (Optional)

    Default value

  9. value

    (Optional)

    Default value