From 4f76eb386f72ceaa56c500a3b0b724c16ed4821a Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:10:37 +0000 Subject: [PATCH] docs(Accordion): add expandOnTileClick documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Jozef Képesi --- .../orbit-components/src/Accordion/README.md | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/packages/orbit-components/src/Accordion/README.md b/packages/orbit-components/src/Accordion/README.md index 1680ed117b..c611d8a9f4 100644 --- a/packages/orbit-components/src/Accordion/README.md +++ b/packages/orbit-components/src/Accordion/README.md @@ -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