Skip to content

Commit 16fec71

Browse files
committed
feat: add nossr component to sistent
Signed-off-by: amitamrutiya <amitamrutiya2210@gmail.com>
1 parent 8d702f3 commit 16fec71

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)