Skip to content
On this page

Fire

Example of Fire canvas with react

jsx
import { useState } from 'react'
import CanvasParty from '@canvas-party/react'

function reactApp() {
  const [canvasType, setCanvasType] = useState('fire')
  const [canvasOptions, setCanvasOptions] = useState({ azula: false })

  return <CanvasParty type={canvasType} options={canvasOptions} />
}
export default reactApp

Result