Skip to content

Commit

Permalink
Added className prop to AnchoredOverlay component for custom styling (#…
Browse files Browse the repository at this point in the history
…4752)

* Added className prop to AnchoredOverlay component

### Description:
- Added `className` prop to allow custom styling of the `AnchoredOverlay` component
- This change addresses issue #4739

* Updated AnchoredOverlay documentation to include className prop

### Description:
- Added `className` prop to `AnchoredOverlay.docs.json`

* add changeset

* Revert "add changeset"

This reverts commit 4a59f6a.

* Updated the code according to PR#4741

### description:
- the previous PR, which also included the necessary changes: #4741
- only the changes to Storybook were kept

---------

Co-authored-by: Armagan Ersoz <broccolinisoup@github.com>
  • Loading branch information
romanpozdnov and broccolinisoup authored Jul 23, 2024
1 parent a9fab98 commit dfe6d2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/react/src/AnchoredOverlay/AnchoredOverlay.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@
"type": "Partial<FocusZoneHookSettings>",
"defaultValue": "",
"description": "Settings to apply to the focus zone on the internal `Overlay` component."
},
{
"name": "className",
"type": "string",
"defaultValue": "",
"description": "Class name for custom styling."
}
]
}

0 comments on commit dfe6d2f

Please sign in to comment.