Closed brodao2 closed 1 month ago
I'm trying to use VscodeLabel in a react component and I get the error:
'VscodeLabel' cannot be used as a JSX component.
Any suggestions?
Grateful.
export class TdsLabel extends React.Component<TdsLabel> { render() { return ( <React.Fragment> <VscodeLabel > </VscodeLabel > </React.Fragment> ); } }
I haven't tried it yet, but at first glance, I see a whitespace in the VscodeLabel tag.
Ok, I've found it. I'll fix it right away.
Done. Please reinstall it with npm i @vscode-elements/react-elements@latest
npm i @vscode-elements/react-elements@latest
I'm trying to use VscodeLabel in a react component and I get the error:
Any suggestions?
Grateful.