The hook would automatically request typeface data from the API, return fonts from the font loader, and a text component:
const Demo = () => {
const { fonts, Text } = useTypeface('recursive')
return (
<Canvas>
<ambientLight />
<pointLight position={[10, 10, 10]} />
<Text style="normal" weight={400} color="tomato">Hello, world!</Text>
</Canvas>
)
}