Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: wrong import data on preview code #119

Open
partha-devnath opened this issue Feb 11, 2025 · 0 comments
Open

[Bug]: wrong import data on preview code #119

partha-devnath opened this issue Feb 11, 2025 · 0 comments
Labels
Type: Bug Confirmed bug, something is not working as intended

Comments

@partha-devnath
Copy link

Tremor Raw Component Version

No response

Link to minimal reproduction

https://tremor.so/docs/ui/drawer

Steps to reproduce

The import in the Preview code is wrong for Drawer

What is expected?

It should be the correct import

import { Button } from "@/components/Button";
import {
  Drawer,
  DrawerTrigger,
  DrawerContent,
  DrawerHeader,
  DrawerTitle,
  DrawerBody,
  DrawerFooter,
  DrawerClose,
} from "@/components/Drawer";

... rest

What is actually happening?

Its importing other component which is not part of the actual code

import { Button } from '@/components/Button';
import {
  Dialog,
  DialogClose,
  DialogContent,
  DialogDescription,
  DialogFooter,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@/components/Dialog";

...rest

What browsers are you seeing the problem on?

Chrome

Any additional comments?

No response

@severinlandolt severinlandolt added the Type: Bug Confirmed bug, something is not working as intended label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Confirmed bug, something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants