@rileybathurst/paddle 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/src/Button.tsx ADDED
@@ -0,0 +1,2 @@
1
+ import * as React from "react"
2
+ export const Button = (props) => <button {...props} />
package/src/index.tsx CHANGED
@@ -1 +1,2 @@
1
- export * from "./Test";
1
+ import * as React from "react";
2
+ export * from "./Button";
@@ -1,7 +1,8 @@
1
1
  // import React from 'react';
2
2
 
3
- import { Button } from './Button';
3
+ // import { Button } from './Button';
4
4
  import './header.css';
5
+ import { Button } from '@rileybathurst/puddle';
5
6
 
6
7
  type User = {
7
8
  name: string;
@@ -50,6 +51,9 @@ export const Header = ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps
50
51
  <Button primary size="small" onClick={onCreateAccount} label="Sign up" />
51
52
  </>
52
53
  )}
54
+
55
+ <hr />
56
+ <Button />
53
57
  </div>
54
58
  </div>
55
59
  </header>