UTDNebula/platform

Buttons

Closed this issue · 0 comments

Story

As a user, I want to interact with Platform by clicking on buttons.

Description

Create a React component, Button, that can be configured to appear in all of the styles shown in the Figma file for Platform.

Acceptance Criteria

  1. Buttons can be
    a. primary (accent background-color, white color),
    b. secondary (accent border-color and color, white background-color), or
    c. warning (red background-color, white color)
  2. Buttons can either conform to the width of their contents or conform to the width of their parent element
  3. Buttons can contain an arbitrary icon that is sized appropriately, can appear on either side of the text, and is colored white if primary or warning and accent if secondary
  4. All Buttons have rounded corners and text content is in Roboto
  5. All other styles match final design choices in Figma
  6. Buttons can serve as links or accept a function to be called on click

Notes

None