Skip to content

Commit

Permalink
fix(alert): slots & variantProps import (#4365)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong authored Dec 17, 2024
1 parent 9e8a656 commit 5946e90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-dingos-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/alert": patch
---

fix alert slots & variantProps import (#4336)
3 changes: 1 addition & 2 deletions packages/components/alert/src/use-alert.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 5946e90

Please sign in to comment.