next-barcode icon indicating copy to clipboard operation
next-barcode copied to clipboard

is there a way to get inputRef current?

Open fallenmel opened this issue 3 years ago • 1 comments

fallenmel avatar Sep 18 '20 01:09 fallenmel

useBarcode returns the ref:

return { inputRef };

You can try to access inputRef.current

dennis-8 avatar Feb 23 '21 15:02 dennis-8