An opinionated toast component for React.
fix: `Toaster.gap` doesn't work (#375)
Sixian Li0d395c439393
diff --git a/src/index.tsx b/src/index.tsxindex 765463b..65501fb 100644--- a/src/index.tsx+++ b/src/index.tsx@@ -622,7 +622,7 @@ const Toaster = (props: ToasterProps) => {'--front-toast-height': `${heights[0]?.height || 0}px`,'--offset': typeof offset === 'number' ? `${offset}px` : offset || VIEWPORT_OFFSET,'--width': `${TOAST_WIDTH}px`,- '--gap': `${GAP}px`,+ '--gap': `${gap}px`,...style,} as React.CSSProperties}