Replies: 1 comment
-
just use it, what's the problem you face? import { extend } from 'react-three-fiber'
import { TextSprite } from '...'
extend({ TextSprite })
function Foo() {
return <textSprite text="hello" /> or create it like above and use btw, you're probably better of use drei's text component which is driven by troika: https://github.com/pmndrs/drei#text |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I need to use this library:
https://github.com/SeregPie/THREE.TextSprite
How can I do this on r3f?
Beta Was this translation helpful? Give feedback.
All reactions