We're having a growing number of packages in this repository. This PR moves them into a `packages/` directory like it's commonly done in other projects.
6 lines
132 B
TypeScript
6 lines
132 B
TypeScript
import data from "./data.json" with { type: "json" };
|
|
|
|
export function JsonIsland() {
|
|
return <pre>{JSON.stringify(data)}</pre>;
|
|
}
|