Skip to content

Commit 1bb241b

Browse files
committed
Add modalProps in Documentaion
1 parent e0e91b9 commit 1bb241b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/organisms/documentation/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const Documentation = ({
5959
onGoToDemoClick,
6060
children,
6161
demoUrl,
62+
modalProps = {},
6263
}) => {
6364
const [isOpen, toggle] = useToggle()
6465
const [view, setView] = useState(views.general)
@@ -93,6 +94,7 @@ const Documentation = ({
9394
max: isGeneral ? "325px" : view === views.dashboard ? "600px" : "100%",
9495
}}
9596
data-testid="documentation-layer"
97+
{...modalProps}
9698
>
9799
<Header onClose={closeClicked}>
98100
{isGeneral && (

0 commit comments

Comments
 (0)