We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5315216 commit 95fb0c6Copy full SHA for 95fb0c6
src/base/Typography/Typography.tsx
@@ -2,9 +2,10 @@ import {
2
Typography as MuiTypography,
3
type TypographyProps as MuiTypographyProps
4
} from '@mui/material';
5
+import React from 'react';
6
-export function Typography(props: MuiTypographyProps): JSX.Element {
7
- return <MuiTypography {...props} />;
8
-}
+const Typography = React.forwardRef<HTMLDivElement, MuiTypographyProps>((props, ref) => {
+ return <MuiTypography {...props} ref={ref} />;
9
+});
10
11
export default Typography;
0 commit comments