diff --git a/.changeset/polite-dingos-call.md b/.changeset/polite-dingos-call.md new file mode 100644 index 0000000000..6c2270045f --- /dev/null +++ b/.changeset/polite-dingos-call.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/alert": patch +--- + +fix alert slots & variantProps import (#4336) diff --git a/packages/components/alert/src/use-alert.ts b/packages/components/alert/src/use-alert.ts index 61e739cd7a..e56f85699a 100644 --- a/packages/components/alert/src/use-alert.ts +++ b/packages/components/alert/src/use-alert.ts @@ -1,9 +1,8 @@ import type {ButtonProps} from "@nextui-org/button"; +import type {AlertSlots, AlertVariantProps, SlotsToClasses} from "@nextui-org/theme"; import {HTMLNextUIProps, mapPropsVariants, PropGetter} from "@nextui-org/system"; -import {AlertSlots, SlotsToClasses} from "@nextui-org/theme"; import {filterDOMProps, ReactRef, useDOMRef} from "@nextui-org/react-utils"; -import {AlertVariantProps} from "@nextui-org/theme/src/components/alert"; import {ReactNode, useCallback, useMemo} from "react"; import {mergeProps} from "@react-aria/utils"; import {alert} from "@nextui-org/theme";