react-thermal-printer
react-thermal-printer copied to clipboard
Row throws an error when string from right side is too big
The row component throws an error if the string length from right side is too big
example:
<Row
left={<Text>CEP:</Text>}
right={
<Text>Antiga 18 portão de garagem vermelho casa de esquina</Text>
}
/>
Error thrown: Possible Unhandled Promise Rejection (id: 2):
RangeError: String.prototype.repeat count must be finite and non-negative RangeError: String.prototype.repeat count must be finite and non-negative
Share the whole code. I faced similar issues and solved it, but I can't see the mistakes I did in your code.