Skip to content

Commit

Permalink
Fixes #1757 - Add migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Apr 8, 2019
1 parent 33b424a commit 0172ed5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions migrate-the-clay-components-from-v2-to-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,13 @@ Using a radio by itself doesn't make much sense, only when 2+ exist does the fun
<ClayRadioGroup.Radio label="Three" value="three" />
</ClayRadioGroup>
```

## ClayLabel

### API Changes

- `style` is now `displayType`
- Removed `size` in favor of `large` since there is only default and large options.
- Removed `label` in favor of utilizing `children` prop
- Added `closeButtonProps` which allows you to add attributes to the nested button.
- This is where you would pass a callback for `onClick`.

0 comments on commit 0172ed5

Please sign in to comment.