Skip to content

Commit

Permalink
ResponsiveDrawerProps - Make container optional
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Jul 17, 2019
1 parent fc497d3 commit 101df67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/components/drawers/ResponsiveDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ResponsiveDrawer.propTypes = {
* Injected by the documentation to work in an iframe.
* You won't need it on your project.
*/
container: PropTypes.object.isRequired,
container: PropTypes.element,
};

export default ResponsiveDrawer;
2 changes: 1 addition & 1 deletion docs/src/pages/components/drawers/ResponsiveDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ interface ResponsiveDrawerProps {
* Injected by the documentation to work in an iframe.
* You won't need it on your project.
*/
container: Element;
container?: JSX.Element;
}

export default function ResponsiveDrawer(props: ResponsiveDrawerProps) {
Expand Down

0 comments on commit 101df67

Please sign in to comment.