@mui/joy
Version:
Joy UI is an open-source React component library that implements MUI's own design principles. It's comprehensive and can be used in production out of the box.
19 lines (18 loc) • 440 B
JavaScript
'use client';
import _extends from "@babel/runtime/helpers/esm/extends";
import { useThemeProps as systemUseThemeProps } from '@mui/system';
import defaultTheme from './defaultTheme';
import THEME_ID from './identifier';
export default function useThemeProps({
props,
name
}) {
return systemUseThemeProps({
props,
name,
defaultTheme: _extends({}, defaultTheme, {
components: {}
}),
themeId: THEME_ID
});
}