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 +```