Skip to content

Commit

Permalink
docs(storybook): update component docs for dropDownMenu/sidePanel (EN…
Browse files Browse the repository at this point in the history
…G-56423)
  • Loading branch information
echristie-bc committed Jun 21, 2024
1 parent ba3db1c commit 052f7a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/DropdownMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ DropdownMenu.propTypes = {
/** Whether to show error message. */
showErrorMessage: PropTypes.bool,
// eslint-disable-next-line max-len
/** Whether request called with a custom URL or use the default URL from Gateway at '/-/v3/dropdown_menu/data'*/
/** The URL to fetch data for populating the drop-down menu.
* If not provided, a default URL will be used to fetch data from Gateway.*/
requestUrl: PropTypes.string,
/** The menu items. */
customValues: PropTypes.arrayOf(
Expand Down
5 changes: 3 additions & 2 deletions src/components/SidePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ SidePanel.propTypes = {
size: PropTypes.oneOf(['small', 'large']),
/** The margin top */
top: PropTypes.number,
/** The margin top */
/** Specifies the stack order of the component,
* higher values are rendered in front of lower values. */
zIndex: PropTypes.number,
/** A callback that will be called when a user clicks mask, close button */
/** Function invoked when the close button is clicked. */
onClose: PropTypes.func.isRequired,
/** Child components */
children: PropTypes.oneOfType([
Expand Down

0 comments on commit 052f7a1

Please sign in to comment.