Skip to content

Commit

Permalink
Make actionButtons optional on LayoutContent
Browse files Browse the repository at this point in the history
  • Loading branch information
fadwamahmoud committed Sep 18, 2023
1 parent c8a6fc6 commit 1108ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Layout: React.FC<LayoutProps> = ({

export const LayoutContent: React.FC<{
wide?: boolean;
actionButtons: JSX.Element;
actionButtons?: JSX.Element;
}> = ({ children, wide = false, actionButtons = null }) => (
<main className="flex flex-col overflow-hidden">
<div className={`overflow-y-auto ${wide ? "" : "content-container"}`}>
Expand Down

0 comments on commit 1108ae8

Please sign in to comment.