Skip to content

Commit

Permalink
remove createUseThemeProps
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jun 13, 2024
1 parent 37c6c5d commit 4b89434
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions packages/mui-lab/src/zero-styled/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
import { useThemeProps } from '@mui/material/styles';

export { styled } from '@mui/material/styles';

// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function createUseThemeProps(name: string) {
return useThemeProps;
}
6 changes: 0 additions & 6 deletions packages/mui-material/src/zero-styled/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react';
import { extendSxProp } from '@mui/system/styleFunctionSx';
import useThemeProps from '../styles/useThemeProps';
import useTheme from '../styles/useTheme';
import GlobalStyles, { GlobalStylesProps } from '../GlobalStyles';

Expand All @@ -14,11 +13,6 @@ export function globalCss(styles: GlobalStylesProps['styles']) {
};
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function createUseThemeProps(name: string) {
return useThemeProps;
}

// eslint-disable-next-line @typescript-eslint/naming-convention
export function internal_createExtendSxProp() {
return extendSxProp;
Expand Down

0 comments on commit 4b89434

Please sign in to comment.