mirror of
https://github.com/morten-olsen/bob.git
synced 2026-02-08 01:46:29 +01:00
feat: add capabilities
This commit is contained in:
12
packages/playground/src/experiments/hello/index.tsx
Normal file
12
packages/playground/src/experiments/hello/index.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
const Foo = () => {
|
||||
return <div></div>;
|
||||
};
|
||||
|
||||
const worker = () =>
|
||||
new Worker(new URL('./script.ts', import.meta.url), {
|
||||
type: 'module',
|
||||
});
|
||||
|
||||
const view = <Foo />;
|
||||
|
||||
export { worker, view };
|
||||
Reference in New Issue
Block a user