This repository was archived by the owner on Apr 1, 2023. It is now read-only.
This repository was archived by the owner on Apr 1, 2023. It is now read-only.
ReferenceError: Fragment is not defined #243
Closed
Description
Hi!
I created a new library, and made a quick edit to add a fragment to the example code. The new code is:
export const ExampleComponent = ({ text }) => {
return (<><p>test</p><div className={styles.test}>Example Component: {text}</div></>)
}
When running this I get the error from the title:
ReferenceError: Fragment is not defined
ExampleComponent
src/index.js:5
Is there any way to add support for it?
Thank you !
Metadata
Metadata
Assignees
Labels
No labels