Skip to content

Commit 1f7cfff

Browse files
author
Sharma
committed
Made imports more consistent
1 parent 8d62aa8 commit 1f7cfff

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

packages/react-sdk-components/src/components/designSystemExtension/Banner/Banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Grid2 } from '@mui/material';
1+
import Grid2 from '@mui/material/Grid2';
22
import './Banner.css';
33

44
// AlertBanner is one of the few components that does NOT have getPConnect.

packages/react-sdk-components/src/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useEffect } from 'react';
22
import isDeepEqual from 'fast-deep-equal/react';
3-
import { Grid2 } from '@mui/material';
3+
import Grid2 from '@mui/material/Grid2';
44
import TextField from '@mui/material/TextField';
55

66
import { getDateFormatInfo } from '../../helpers/date-format-utils';

packages/react-sdk-components/src/components/field/Group/Group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type ReactElement, useMemo } from 'react';
2-
import { Grid2 } from '@mui/material';
2+
import Grid2 from '@mui/material/Grid2';
33
import FieldGroup from '../../designSystemExtension/FieldGroup';
44
import type { PConnFieldProps } from '../../../types/PConnProps';
55

packages/react-sdk-components/src/components/field/ObjectReference/ObjectReference.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useMemo } from 'react';
22

3-
import { Grid2 } from '@mui/material';
3+
import Grid2 from '@mui/material/Grid2';
44

55
import { SELECTION_MODE, generateColumns, getDataRelationshipContextFromKey } from './utils';
66
import { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';

packages/react-sdk-components/src/components/template/OneColumn/OneColumn/OneColumn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropsWithChildren, ReactElement } from 'react';
2-
import { Grid2 } from '@mui/material';
2+
import Grid2 from '@mui/material/Grid2';
33
import makeStyles from '@mui/styles/makeStyles';
44
import type { PConnProps } from '../../../../types/PConnProps';
55

packages/react-sdk-components/src/components/template/TwoColumn/TwoColumn/TwoColumn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropsWithChildren, ReactElement } from 'react';
2-
import { Grid2, type GridSize } from '@mui/material';
2+
import Grid2, { type GridSize } from '@mui/material/Grid2';
33
import makeStyles from '@mui/styles/makeStyles';
44
import type { PConnProps } from '../../../../types/PConnProps';
55

packages/react-sdk-components/src/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropsWithChildren, ReactElement } from 'react';
2-
import { Grid2, type GridSize } from '@mui/material';
2+
import Grid2, { type GridSize } from '@mui/material/Grid2';
33
import makeStyles from '@mui/styles/makeStyles';
44
import type { PConnProps } from '../../../../types/PConnProps';
55

0 commit comments

Comments
 (0)