@storybook/preact 8.0.0-rc.2 → 8.0.0-rc.4
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/preact",
|
3
|
-
"version": "8.0.0-rc.
|
3
|
+
"version": "8.0.0-rc.4",
|
4
4
|
"description": "Storybook Preact renderer",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -48,8 +48,8 @@
|
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
50
|
"@storybook/global": "^5.0.0",
|
51
|
-
"@storybook/preview-api": "8.0.0-rc.
|
52
|
-
"@storybook/types": "8.0.0-rc.
|
51
|
+
"@storybook/preview-api": "8.0.0-rc.4",
|
52
|
+
"@storybook/types": "8.0.0-rc.4",
|
53
53
|
"ts-dedent": "^2.0.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { fn } from '@storybook/test';
|
1
2
|
import { Header } from './Header';
|
2
3
|
|
3
4
|
export default {
|
@@ -9,10 +10,10 @@ export default {
|
|
9
10
|
// More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
|
10
11
|
layout: 'fullscreen',
|
11
12
|
},
|
12
|
-
|
13
|
-
onLogin:
|
14
|
-
onLogout:
|
15
|
-
onCreateAccount:
|
13
|
+
args: {
|
14
|
+
onLogin: fn(),
|
15
|
+
onLogout: fn(),
|
16
|
+
onCreateAccount: fn(),
|
16
17
|
},
|
17
18
|
};
|
18
19
|
|