refactor(web): remove typescript
This commit is contained in:
5
packages/web/src/components/PageTitle/index.jsx
Normal file
5
packages/web/src/components/PageTitle/index.jsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import * as React from 'react';
|
||||
import Typography from '@mui/material/Typography';
|
||||
export default function PageTitle(props) {
|
||||
return <Typography variant="h3" data-test="page-title" {...props} />;
|
||||
}
|
@@ -1,8 +0,0 @@
|
||||
import * as React from 'react';
|
||||
import Typography, { TypographyProps } from '@mui/material/Typography';
|
||||
|
||||
type PageTitleProps = TypographyProps;
|
||||
|
||||
export default function PageTitle(props: PageTitleProps): React.ReactElement {
|
||||
return <Typography variant="h3" data-test="page-title" {...props} />;
|
||||
}
|
Reference in New Issue
Block a user