Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Sep 22, 2023
1 parent e7bc025 commit 7a85c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/app-solid/src/stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export function StoryToast() {
toast.custom(({ h, toast, item }) =>
h("div", { class: "flex items-center gap-2" }, [
h("span", {
class: "i-ri-aliens-fill text-colorPrimary text-2xl",
class: "i-ri-aliens-fill text-colorWarning text-2xl",
}),
h("span", {}, "Custom"),
h("button", {
Expand Down
3 changes: 1 addition & 2 deletions packages/tiny-toast/src/preact/dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ function Demo() {
toast.custom(({ h, toast, item }) =>
h("div", { class: "flex items-center gap-2" }, [
h("span", {
class: "i-ri-aliens-fill text-colorPrimary text-2xl",
class: "i-ri-aliens-fill text-colorWarning text-2xl",
}),
h("span", {}, "Custom"),
h("button", {
class:
"antd-btn antd-btn-ghost i-ri-close-line text-colorTextSecondary text-lg",
// TODO: collapsing in the middle of toast list not working?
onClick: () => toast.dismiss(item.id),
}),
])
Expand Down

0 comments on commit 7a85c15

Please sign in to comment.