hc2024-test 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.tsx +14 -0
  2. package/package.json +2 -2
package/index.tsx ADDED
@@ -0,0 +1,14 @@
1
+ export const Page = (props: { title: string; children: unknown }) => (
2
+ <html>
3
+ <head>
4
+ <title>{props.title}</title>
5
+ <link
6
+ href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
7
+ rel="stylesheet"
8
+ integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
9
+ crossorigin="anonymous"
10
+ ></link>
11
+ </head>
12
+ <body>{props.children}</body>
13
+ </html>
14
+ )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hc2024-test",
3
- "version": "1.0.1",
4
- "main": "index.js",
3
+ "version": "1.0.3",
4
+ "main": "index.tsx",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
7
7
  },