Skip to content

Commit

Permalink
Create million.js
Browse files Browse the repository at this point in the history
  • Loading branch information
0xScratch authored Oct 18, 2023
1 parent d52d0c8 commit e4f065b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions npm_Modules/Million/million.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { h, mount } from 'million';

// Define a simple component
function MyComponent() {
return (
<div>
<h1>Hello, Million!</h1>
<p>This is a demo of the Million.js library.</p>
</div>
);
}

// Mount the component to the DOM
mount(MyComponent(), document.getElementById('root'));

0 comments on commit e4f065b

Please sign in to comment.