Skip to content

How to use custom hooks in canvas child components , for example to access design tokens? #2112

Answered by wcandillon
itsramiel asked this question in Q&A
Discussion options

You must be logged in to vote

There is a library that allows you to access contextes from other renderer: https://shopify.github.io/react-native-skia/docs/canvas/contexts/#using-its-fine
You can also do it manually

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@itsramiel
Comment options

Answer selected by itsramiel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants