From 2930ad2ca58a38970d43def79ac95faccabd5e3d Mon Sep 17 00:00:00 2001 From: WK Wong Date: Fri, 10 Jan 2025 19:05:28 +0800 Subject: [PATCH] fix(alert): alert interface props type --- packages/components/alert/src/use-alert.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/alert/src/use-alert.ts b/packages/components/alert/src/use-alert.ts index 1f45f1863d..c5e45456c1 100644 --- a/packages/components/alert/src/use-alert.ts +++ b/packages/components/alert/src/use-alert.ts @@ -9,7 +9,7 @@ import {alert} from "@nextui-org/theme"; import {useControlledState} from "@react-stately/utils"; import {dataAttr, isEmpty, objectToDeps} from "@nextui-org/shared-utils"; -interface Props extends HTMLNextUIProps<"div"> { +interface Props extends Omit, "title"> { /** * Ref to the DOM node. */