Skip to content

Instantly share code, notes, and snippets.

@basith374
Created May 6, 2021 04:19
Show Gist options
  • Save basith374/e2b58407fc1682596c978eba1c269f29 to your computer and use it in GitHub Desktop.
Save basith374/e2b58407fc1682596c978eba1c269f29 to your computer and use it in GitHub Desktop.
parallax
import Parallax from './parallax'
import bg1 from './assets/bg1.png'
import bg2 from './assets/bg2.png'
import bg3 from './assets/bg3.png'
function App() {
return <Parallax images={[bg1, bg2, bg3]} />
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment