Skip to content

Commit

Permalink
refactor: flatten dropdown folder (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen authored Apr 18, 2024
1 parent 4dfc72e commit 1e3252f
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/drop-down/drop-down.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import { MenuItem } from "./menu-item/menu-item";
import { MenuItem } from "./menu-item";
import { Dropdown } from "./drop-down";
const story = {
title: "Components/Dropdown",
Expand Down
2 changes: 1 addition & 1 deletion src/drop-down/drop-down.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { render, screen, within } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import React from "react";
import { MenuItem } from "./menu-item/menu-item";
import { MenuItem } from "./menu-item";
import { Dropdown } from "./drop-down";

describe("<DropDownButton>", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Menu } from "@headlessui/react";
import React, { type ComponentPropsWithoutRef } from "react";
import { type ButtonProps, HeadlessButton } from "../../button";
import { type ButtonProps, HeadlessButton } from "../button";

export type MenuItemsProps = ComponentPropsWithoutRef<typeof Menu.Items> &
ButtonProps;
Expand Down
1 change: 0 additions & 1 deletion src/drop-down/menu-item/index.ts

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 1e3252f

Please sign in to comment.