Skip to content

Commit

Permalink
Merge pull request nextui-org#4438 from nextui-org/fix/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev authored Dec 24, 2024
2 parents 413bcd7 + 07780a7 commit 388b2ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-apricots-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/drawer": patch
---

use top-level type-only import instead of inline type specifiers
16 changes: 7 additions & 9 deletions packages/components/drawer/src/index.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 388b2ed

Please sign in to comment.