Skip to content

Commit

Permalink
docs(Accordion): add expandOnTileClick documentation
Browse files Browse the repository at this point in the history
Co-Authored-By: Jozef Képesi <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and SScorp committed Dec 17, 2024
1 parent 64881d4 commit 4f76eb3
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions packages/orbit-components/src/Accordion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,18 @@ After adding import into your project you can use it simply like:

## Props

| Name | Type | Required | Default | Description |
| ---------- | ------------------ | -------- | ------- | ----------- |
| id | `string \| number` | | | |
| children | `React.ReactNode` | | | |
| actions | `React.ReactNode` | | | |
| expanded | `boolean` | | | |
| expandable | `boolean` | | | |
| onExpand | `Common.Callback` | | | |
| header | `React.ReactNode` | | | |
| footer | `React.ReactNode` | | | |
| dataTest | `string` | | | |
| Name | Type | Required | Default | Description |
| ----------------- | ------------------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id | `string \| number` | | | |
| children | `React.ReactNode` | | | |
| actions | `React.ReactNode` | | | |
| expanded | `boolean` | | | |
| expandable | `boolean` | | | |
| expandOnTileClick | `boolean` | | `false` | If true, enables mobile-first interaction where the entire header area becomes clickable for expansion. The action button serves as a visual indicator only. |
| onExpand | `Common.Callback` | | | |
| header | `React.ReactNode` | | | |
| footer | `React.ReactNode` | | | |
| dataTest | `string` | | | |

### Callback

Expand Down

0 comments on commit 4f76eb3

Please sign in to comment.