We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be1c08 commit 7beeb14Copy full SHA for 7beeb14
src/base/Hidden/Hidden.tsx
@@ -1,12 +1,7 @@
1
import { Hidden as MuiHidden, HiddenProps as MuiHiddenProps } from '@mui/material';
2
-import React from 'react';
3
4
-export const Hidden = React.forwardRef<HTMLDivElement, MuiHiddenProps>((props, ref) => {
5
- return (
6
- <div ref={ref}>
7
- <MuiHidden {...props} />
8
- </div>
9
- );
10
-});
+export const Hidden = (props: MuiHiddenProps) => {
+ return <MuiHidden {...props} />;
+};
11
12
export default Hidden;
0 commit comments