3 Replies
well, apparently the button component needs a backgroundColor property.
I'm no react/typescript expert (far from), but probably
I think you should write <Button></Button>
like this
no,
</Button>
isn't needed, as jsx and tsx are parsed differently from html
in html, <button/>
is the same as <button>
, as the />
is completely ignored
but in jsx/tsx, it usually is parsed as an empty button