diff --git a/packages/react/src/components/Avatar/Avatar.tsx b/packages/react/src/components/Avatar/Avatar.tsx index dec40e81..15f859e9 100644 --- a/packages/react/src/components/Avatar/Avatar.tsx +++ b/packages/react/src/components/Avatar/Avatar.tsx @@ -19,7 +19,7 @@ import MuiAvatar, {AvatarProps as MuiAvatarProps} from '@mui/material/Avatar'; import clsx from 'clsx'; import {ElementType, FC, ReactElement, useMemo} from 'react'; -import usePastelColorGenerator from 'src/hooks/use-pastel-color-generator'; +import usePastelColorGenerator from '../../hooks/use-pastel-color-generator'; import {WithWrapperProps} from '../../models'; import {composeComponentDisplayName} from '../../utils'; import './avatar.scss'; diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 0ec20844..d22be757 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -18,6 +18,8 @@ export * from './components'; export * from './theme'; +export * from './hooks/use-pastel-color-generator'; +export {default} from './utils/generate-pastel-color'; export { Alert, AlertTitle,