Skip to content

Commit

Permalink
Added the regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Aug 7, 2023
1 parent 66a8c09 commit 6d9d06c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/mui-system/src/Box/Box.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Box, Theme } from '@mui/system';
import { Box, Theme, styled } from '@mui/system';

interface TestProps {
test?: string;
Expand Down Expand Up @@ -104,3 +104,15 @@ function TestFillPropCallback() {
]}
/>;
}

const StyledBox = styled(Box)`
color: white;
`;

export default function StyledBoxWithSx() {
return (
<StyledBox component="span" sx={{ width: 300 }}>
Box
</StyledBox>
);
}

0 comments on commit 6d9d06c

Please sign in to comment.