diff --git a/packages/mui-base/src/utils/appendOwnerState.ts b/packages/mui-base/src/utils/appendOwnerState.ts index 2e1dbb40d14b27..45d1992e00a38b 100644 --- a/packages/mui-base/src/utils/appendOwnerState.ts +++ b/packages/mui-base/src/utils/appendOwnerState.ts @@ -1 +1,4 @@ -export { default as appendOwnerState, AppendOwnerStateReturnType } from '@mui/utils/appendOwnerState' +export { + default as appendOwnerState, + AppendOwnerStateReturnType, +} from '@mui/utils/appendOwnerState'; diff --git a/packages/mui-base/src/utils/types.ts b/packages/mui-base/src/utils/types.ts index a6d2ef2d9ca675..3a1883cec220b7 100644 --- a/packages/mui-base/src/utils/types.ts +++ b/packages/mui-base/src/utils/types.ts @@ -1 +1,6 @@ -export type { EventHandlers, WithOptionalOwnerState, SlotComponentProps, SlotComponentPropsWithSlotState } from '@mui/utils'; +export type { + EventHandlers, + WithOptionalOwnerState, + SlotComponentProps, + SlotComponentPropsWithSlotState, +} from '@mui/utils'; diff --git a/packages/mui-base/src/utils/useSlotProps.ts b/packages/mui-base/src/utils/useSlotProps.ts index 5883aabb80154b..d959bd2b14e899 100644 --- a/packages/mui-base/src/utils/useSlotProps.ts +++ b/packages/mui-base/src/utils/useSlotProps.ts @@ -1,2 +1,6 @@ 'use client'; -export { default as useSlotProps, UseSlotPropsParameters, UseSlotPropsResult } from '@mui/utils/useSlotProps'; +export { + default as useSlotProps, + UseSlotPropsParameters, + UseSlotPropsResult, +} from '@mui/utils/useSlotProps'; diff --git a/packages/mui-material/src/utils/types.ts b/packages/mui-material/src/utils/types.ts index 5f1060e2fe44f5..01d4a1be52612c 100644 --- a/packages/mui-material/src/utils/types.ts +++ b/packages/mui-material/src/utils/types.ts @@ -1,7 +1,12 @@ import { SxProps } from '@mui/system'; import { SlotComponentProps } from '@mui/utils'; -export type { EventHandlers, WithOptionalOwnerState, SlotComponentProps, SlotComponentPropsWithSlotState } from '@mui/utils'; +export type { + EventHandlers, + WithOptionalOwnerState, + SlotComponentProps, + SlotComponentPropsWithSlotState, +} from '@mui/utils'; export type SlotCommonProps = { component?: React.ElementType; @@ -14,7 +19,6 @@ export type SlotProps< TOwnerState, > = SlotComponentProps; - /** * Use the keys of `Slots` to make sure that K contains all of the keys * diff --git a/packages/mui-utils/src/extractEventHandlers/index.ts b/packages/mui-utils/src/extractEventHandlers/index.ts index 1e266d9f65b067..4623325fc24156 100644 --- a/packages/mui-utils/src/extractEventHandlers/index.ts +++ b/packages/mui-utils/src/extractEventHandlers/index.ts @@ -1 +1 @@ -export { default } from "./extractEventHandlers"; +export { default } from './extractEventHandlers'; diff --git a/packages/mui-utils/src/index.ts b/packages/mui-utils/src/index.ts index 284473d5ed2127..a379698e329f38 100644 --- a/packages/mui-utils/src/index.ts +++ b/packages/mui-utils/src/index.ts @@ -41,7 +41,11 @@ export * from './generateUtilityClass'; export { default as unstable_generateUtilityClasses } from './generateUtilityClasses'; export { default as unstable_ClassNameGenerator } from './ClassNameGenerator'; export { default as clamp } from './clamp'; -export { default as unstable_useSlotProps, UseSlotPropsParameters, UseSlotPropsResult } from './useSlotProps'; +export { + default as unstable_useSlotProps, + UseSlotPropsParameters, + UseSlotPropsResult, +} from './useSlotProps'; export { default as unstable_resolveComponentProps } from './resolveComponentProps'; export { default as unstable_extractEventHandlers } from './extractEventHandlers'; export * from './types'; diff --git a/packages/mui-utils/src/mergeSlotProps/index.ts b/packages/mui-utils/src/mergeSlotProps/index.ts index 5f622d3ee07697..28fddd5756635a 100644 --- a/packages/mui-utils/src/mergeSlotProps/index.ts +++ b/packages/mui-utils/src/mergeSlotProps/index.ts @@ -1 +1,6 @@ -export { default, WithCommonProps, MergeSlotPropsParameters, MergeSlotPropsResult } from './mergeSlotProps'; +export { + default, + WithCommonProps, + MergeSlotPropsParameters, + MergeSlotPropsResult, +} from './mergeSlotProps'; diff --git a/packages/mui-utils/src/omitEventHandlers/index.ts b/packages/mui-utils/src/omitEventHandlers/index.ts index 1843386cf5bb26..5c0402dfb1d8ef 100644 --- a/packages/mui-utils/src/omitEventHandlers/index.ts +++ b/packages/mui-utils/src/omitEventHandlers/index.ts @@ -1 +1 @@ -export { default } from './omitEventHandlers'; \ No newline at end of file +export { default } from './omitEventHandlers'; diff --git a/packages/mui-utils/src/omitEventHandlers/omitEventHandlers.ts b/packages/mui-utils/src/omitEventHandlers/omitEventHandlers.ts index 0d3726ef440f34..f5dc4c7d908bee 100644 --- a/packages/mui-utils/src/omitEventHandlers/omitEventHandlers.ts +++ b/packages/mui-utils/src/omitEventHandlers/omitEventHandlers.ts @@ -5,9 +5,7 @@ * @param object Object to remove event handlers from. * @returns Object with event handlers removed. */ -function omitEventHandlers>( - object: Props | undefined, -) { +function omitEventHandlers>(object: Props | undefined) { if (object === undefined) { return {}; }