mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 00:41:05 +08:00
Extend the Storybook UI provider from the base Provider.
This commit is contained in:
parent
373b530050
commit
d5ae6920cc
30
dist/manager.js
vendored
30
dist/manager.js
vendored
File diff suppressed because one or more lines are too long
2
dist/manager.js.map
vendored
2
dist/manager.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"manager.js","sources":["webpack:///manager.js","webpack:///"],"mappings":"AAAA;ACwoIA;;;;;;;;;;;;;;AA0+EA;;;;;;;;;;;AA2/EA;AA89IA;;;;;;;;;AAmDA;AAyzEA;AAqkGA;AA+6FA;AA80EA;;;;;AAoBA;;;AAm4BA;AAuuHA;AA+8HA;AA2lHA","sourceRoot":""}
|
||||
{"version":3,"file":"manager.js","sources":["webpack:///manager.js","webpack:///"],"mappings":"AAAA;ACwoIA;;;;;;;;;;;;;;AA0+EA;;;;;;;;;;;AAqlFA;AAk8IA;;;;;;;;;AAgCA;AAyzEA;AAqkGA;AA26FA;AAg1EA;;;;;AAuBA;;;AAm4BA;AAuuHA;AA+8HA;AA2lHA","sourceRoot":""}
|
@ -21,7 +21,7 @@
|
||||
"dev": "DEV_BUILD=1 nodemon --watch src --exec 'npm run prepublish'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@kadira/storybook-ui": "^2.0.0",
|
||||
"@kadira/storybook-ui": "^2.1.0",
|
||||
"airbnb-js-shims": "^1.0.0",
|
||||
"babel-core": "^6.3.15",
|
||||
"babel-loader": "^6.2.0",
|
||||
|
@ -3,9 +3,11 @@ import qs from 'qs';
|
||||
import UUID from 'uuid';
|
||||
import React from 'react';
|
||||
import createPageBus from 'page-bus';
|
||||
import { Provider } from '@kadira/storybook-ui';
|
||||
|
||||
export default class ReactProvider {
|
||||
export default class ReactProvider extends Provider {
|
||||
constructor() {
|
||||
super();
|
||||
this.dataId = UUID.v4();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user