-
Beta Was this translation helpful? Give feedback.
Answered by
Haroenv
Nov 16, 2021
Replies: 1 comment 1 reply
-
For using a nested attribute, you need to use the array form of Thanks for making this discussion, as it seems the documentation isn't totally clear on the difference between string and array |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Ekeu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For using a nested attribute, you need to use the array form of
attribute
like this:<components.Snippet hit={hit} attribute={['product', 'value']} />
Thanks for making this discussion, as it seems the documentation isn't totally clear on the difference between string and array