Update FRAME_PROCESSORS.mdx

This commit is contained in:
Marc Rousavy 2021-09-09 22:04:33 +02:00 committed by GitHub
parent 43f5c54363
commit 3aa1f5f849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ You have to restart metro-bundler for changes in the `babel.config.js` file to t
That's it! 🎉 Now you can use it:
```ts
const frameProcessor = useFrameProcessor((frame: Frame) => {
const frameProcessor = useFrameProcessor((frame) => {
'worklet'
const labels = labelImage(frame)
// ...