mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(drawer): use a top-level type-only import instead of inline type specifiers
This commit is contained in:
parent
413bcd7653
commit
07780a75a2
5
.changeset/little-apricots-rhyme.md
Normal file
5
.changeset/little-apricots-rhyme.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/drawer": patch
|
||||
---
|
||||
|
||||
use top-level type-only import instead of inline type specifiers
|
||||
@ -1,14 +1,12 @@
|
||||
import {
|
||||
ModalHeader,
|
||||
ModalBody,
|
||||
ModalFooter,
|
||||
ModalContent,
|
||||
type ModalContentProps,
|
||||
type ModalHeaderProps,
|
||||
type ModalBodyProps,
|
||||
type ModalFooterProps,
|
||||
import type {
|
||||
ModalContentProps,
|
||||
ModalHeaderProps,
|
||||
ModalBodyProps,
|
||||
ModalFooterProps,
|
||||
} from "@nextui-org/modal";
|
||||
|
||||
import {ModalHeader, ModalBody, ModalFooter, ModalContent} from "@nextui-org/modal";
|
||||
|
||||
import Drawer from "./drawer";
|
||||
|
||||
// export types
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user