Edit in GitHubLog an issue

Button

Typedefs

props

Props for Button

A component for buttons.

Returns: React.Element — A React component that displays a single button.

Parameters

NameTypeDescription
propspropsReact component props

Props for Button

Properties

NameTypeDescription
classesObjectAn object containing the class names for the Button component.
classes.contentstringclasses for the button content
classes.rootstringclasses for root container
classes.root_highPrioritystringclasses for Button if high priority.
classes.root_lowPrioritystringclasses for Button if low priority.
classes.root_normalPrioritystringclasses for Button if normal priority.
prioritystringthe priority/importance of the Button
typestringthe type of the Button
negativeboolwhether the button should be displayed in red for a negative action
disabledboolis the button disabled

Source Code: pwa-studio/packages/venia-ui/lib/components/Button/button.js

  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.