refactor(web): remove typescript
This commit is contained in:
8
packages/web/src/components/Container/index.jsx
Normal file
8
packages/web/src/components/Container/index.jsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import * as React from 'react';
|
||||
import MuiContainer from '@mui/material/Container';
|
||||
export default function Container(props) {
|
||||
return <MuiContainer {...props} />;
|
||||
}
|
||||
Container.defaultProps = {
|
||||
maxWidth: 'lg',
|
||||
};
|
@@ -1,10 +0,0 @@
|
||||
import * as React from 'react';
|
||||
import MuiContainer, { ContainerProps } from '@mui/material/Container';
|
||||
|
||||
export default function Container(props: ContainerProps): React.ReactElement {
|
||||
return <MuiContainer {...props} />;
|
||||
}
|
||||
|
||||
Container.defaultProps = {
|
||||
maxWidth: 'lg',
|
||||
};
|
Reference in New Issue
Block a user