A way to integrate smaller portions of the full blink into your product. Let you teleport buttons and other single actions between web3 products.
useBlink
to fetch the full blink data from an blink URL. The blink object then has all 4 of the possible actions in the links.actions
attribute.
selector
attribute, from which we can apply any logic. In this case we use .find
to select the sub action whose label has “Donate” in the button label, which corresponds to the input field action.
selector
to identify which sub action you want to extract, including using labels, names, existence of parameters
, or any other data.