Skip to content

Commit

Permalink
Adding a short paragraph to the button component readme (#12773)
Browse files Browse the repository at this point in the history
Explains that the Button component and the Button block may sometimes be confused together.
  • Loading branch information
aldavigdis authored and mkaz committed Jan 11, 2019
1 parent aaec6ff commit ad4c9e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Buttons express what action will occur when the user clicks or taps it. Buttons

The presence of a `href` prop determines whether an `anchor` element is rendered instead of a `button`.

Note that this component may sometimes be confused with the Button block, which has semantically different use cases and functionality.

## Usage

Renders a button with default style.
Expand Down

0 comments on commit ad4c9e7

Please sign in to comment.