React SDK

ViewType

The ViewType component is used to allow toggling between viewing modes of results.

Import

Usage

Additional imports used in the examples:

Editable Example
Suggestions
    Powered by

    Loading...

    Default ViewType

    Editable Example
    Suggestions
      Powered by

      Loading...

      Props

      NameTypeDefaultDescription
      labelstring"View"
      sizesm | md | lgmdSets the text and button sizes.
      inlinebooleantrueWhether to render label and control inline.