@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 +1 -1
- package/src/Button.tsx +2 -0
- package/src/index.tsx +2 -1
- package/src/stories/Header.tsx +5 -1
package/package.json
CHANGED
package/src/Button.tsx
ADDED
package/src/index.tsx
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export * from "./Button";
|
package/src/stories/Header.tsx
CHANGED
|
@@ -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>
|