Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
move columns prop to group docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SiAdcock committed Nov 3, 2020
1 parent 323380c commit 4e8ea7e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/core/components/choice-card/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ Additional text that appears below the `label`
If true, users may select more than one choice card (checkbox behaviour). By default, users
may only select a single choice card (radio button behaviour).

### `columns`

**`number`**

To render a grid of choice cards, specify the number of columns. If this prop is not set, cards will appear on a single line.

### `error`

**`string`**
Expand Down Expand Up @@ -104,13 +110,6 @@ Whether choice card is checked. This is necessary when using the [controlled app

**Note:** if you pass the `checked` prop, you **must** also pass an `onChange` handler, or the field will be rendered as read-only.

### `columns`

**`number`**

To render a grid of choice cards, specify the number of columns. If this prop is not set, cards will appear on a single line.


## Supported themes

### Standard
Expand Down

0 comments on commit 4e8ea7e

Please sign in to comment.