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
props
React component props

Props for Button

Properties

NameTypeDescription
classes
Object
An object containing the class names for the Button component.
classes.content
string
classes for the button content
classes.root
string
classes for root container
classes.root_highPriority
string
classes for Button if high priority.
classes.root_lowPriority
string
classes for Button if low priority.
classes.root_normalPriority
string
classes for Button if normal priority.
priority
string
the priority/importance of the Button
type
string
the type of the Button
negative
bool
whether the button should be displayed in red for a negative action
disabled
bool
is the button disabled

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

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