A wrapper for loading Spline models and animations.
npm install --save react-spline
import React, { Component } from 'react'
import { Spline } from 'react-spline'
import 'react-spline/dist/index.css'
class Example extends Component {
render() {
return <Spline scene={SCENE_OBJECT} assets={ASSETS_OBJECT} />
}
}
MIT © utkarshdubey