Skip to content

Commit 7cc8022

Browse files
committed
fix(): Add sonner dev dependency and fix story.
1 parent b34b5c5 commit 7cc8022

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

package-lock.json

+6-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"rollup-plugin-terser": "^7.0.2",
7272
"semantic-release": "^22.0.12",
7373
"serve": "^14.2.1",
74+
"sonner": "^1.4.1",
7475
"storybook": "^7.6.5",
7576
"tailwindcss-animate": "^1.0.7"
7677
},

stories/shadcn/sonner.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Meta, StoryObj } from "@storybook/react";
22
import React from "react";
33
import { Button, SonnerToast } from "src";
4-
import sonner from 'sonner'
4+
import * as sonner from 'sonner'
55
const SonnerDemo = () => {
66
return (
77
<div>

0 commit comments

Comments
 (0)