@hmiproject/helio-sdk
    Preparing search index...

    Function Button

    • Component that displays a clickable button using the currently active HELIO theme.

      Parameters

      • props: ButtonProps
        • OptionalautoFocus?: boolean

          Automatically focus the button when it is rendered to the UI

        • Optionalchecked?: boolean

          Display the button as checked (i.e. pressed in)

        • Optionalchildren?: ReactNode
        • OptionalclassName?: string

          Optional CSS class name

        • Optionaldestructive?: boolean
          false
          
        • Optionaldisabled?: boolean
          false
          
        • OptionalleftItems?: ReactNode

          Items to display in the left slot

        • OptionalrightItems?: ReactNode

          Items to display in the right slot

        • Optionalvariant?: ButtonVariant
          'secondary'
          
        • onClick?: function
          • Parameters

            • Optionalevent: MouseEvent<Element, MouseEvent>

            Returns void

          • Parameters

            • event: UIEvent

            Returns void

      Returns Element

      1.0.0