From f4e2b34da9838a5a963fed6fe683fc521ee8cce1 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Mon, 10 Aug 2026 12:11:35 +0300 Subject: [PATCH] docs: improve README --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab9e7a0..bf5488f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + ![Snowfall Demo](./assets/snowfall-demo.gif) # Solid Snowfall @@ -36,13 +38,14 @@ pnpm add solid-snowfall Basic usage requires no properties - it will grow to fill the nearest relative positioned parent element. ```tsx -import { render } from "solidjs/web"; -import SnowFall from "solid-snowfall"; +import { render } from "solid-js/web"; +import Snowfall from "solid-snowfall"; render( () => ( <> - + + ), document.getElementById("root") as HTMLDivElement, ); @@ -124,4 +127,4 @@ If you want the component to cover the entire screen then you can change the pos left: 0 }} /> -``` \ No newline at end of file +```