Skip to content
On this page

Smoke

Smoke canvas with react

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

function reactApp() {
  const [canvasType, setCanvasType] = useState('fluid')

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

Result