I'm looking for a way to dynamically add bordered
property to the button element, how can I do that?
So I need to switch from <Button>
to <Button bordered>
. Any way to do this without assigning an entire <Button><Text>I'm a button</Text></Button>
to a variable, then duplicating the same but with bordered
?