fix(alert): slots & variantProps import (#4365)

This commit is contained in:
աӄա 2024-12-17 22:15:50 +08:00 committed by GitHub
parent 9e8a656665
commit 5946e90335
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/alert": patch
---
fix alert slots & variantProps import (#4336)

View File

@ -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";