Skip to content

Commit

Permalink
fix: props
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jun 11, 2020
1 parent d00ed47 commit 096ebf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/blocks/src/PageContainer/PageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export interface PageContainerProps {
* If the page is an MDX page, will display the MDX components.
* Otherwise, the page elements are passed as children
*/
export const PageContainer: FC<PageContainerProps & BoxProps> = forwardRef(
export const PageContainer: FC<PageContainerProps &
Omit<BoxProps, 'sx'>> = forwardRef(
(
{ children, maxWidth, padding = 4, ...rest },
ref: React.Ref<HTMLDivElement>,
Expand Down

0 comments on commit 096ebf9

Please sign in to comment.