Skip to content

Commit fafc55d

Browse files
authored
Merge pull request #922 from amitamrutiya/add-comp
feat: add nossr component to sistent
2 parents 8d702f3 + 16fec71 commit fafc55d

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/base/NoSsr/NoSsr.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { NoSsr as MuiNoSsr, NoSsrProps as MuiNoSsrProps } from '@mui/material';
2+
3+
export function NoSsr(props: MuiNoSsrProps): JSX.Element {
4+
return <MuiNoSsr {...props} />;
5+
}
6+
7+
export default NoSsr;

src/base/NoSsr/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { NoSsr } from './NoSsr';

src/base/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export * from './ListSubheader';
5050
export * from './Menu';
5151
export * from './MenuItem';
5252
export * from './MenuList';
53+
export * from './NoSsr';
5354
export * from './OutlinedInput';
5455
export * from './Pagination';
5556
export * from './Paper';

0 commit comments

Comments
 (0)