mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
upgrade to react 19
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
type ComponentPropsWithoutRef,
|
||||
Fragment,
|
||||
type ReactElement,
|
||||
type ReactNode,
|
||||
cloneElement,
|
||||
useState,
|
||||
} from "react";
|
||||
@@ -11,7 +12,7 @@ import { twMerge } from "tailwind-merge";
|
||||
import { useEvent } from "ui/hooks/use-event";
|
||||
|
||||
export type DropdownItem =
|
||||
| (() => JSX.Element)
|
||||
| (() => ReactNode)
|
||||
| {
|
||||
label: string | ReactElement;
|
||||
icon?: any;
|
||||
|
||||
Reference in New Issue
Block a user