-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
192b373
commit 9a2e061
Showing
77 changed files
with
30,998 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
[lints] | ||
|
||
[options] | ||
|
||
all=true | ||
[strict] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// flow-typed signature: d33e1b8f0888822895515e3ca6a3f8eb | ||
// flow-typed version: 1709d3212d/@storybook/addon-actions_v3.x.x/flow_>=v0.25.x | ||
|
||
declare module '@storybook/addon-actions' { | ||
declare type Action = (name: string) => Function; | ||
declare type DecorateFn = (args: Array<any>) => Array<any>; | ||
|
||
declare module.exports: { | ||
action: Action, | ||
decorateAction(args: Array<DecorateFn>): Action; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
// flow-typed signature: 2497b34634d4a09116cacb462ca6c867 | ||
// flow-typed version: <<STUB>>/@storybook/addon-links_v3.3.13/flow_v0.66.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* '@storybook/addon-links' | ||
* | ||
* Fill this stub out by replacing all the `any` types. | ||
* | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module '@storybook/addon-links' { | ||
declare module.exports: any; | ||
} | ||
|
||
/** | ||
* We include stubs for each file inside this npm package in case you need to | ||
* require those files directly. Feel free to delete any files that aren't | ||
* needed. | ||
*/ | ||
declare module '@storybook/addon-links/dist/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/dist/manager' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/dist/preview' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/dist/react/components/link' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/dist/react/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/react' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/register' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/manager' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/preview' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/preview.test' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/react/components/link' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/react/components/link.test' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addon-links/src/react/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
// Filename aliases | ||
declare module '@storybook/addon-links/dist/index.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/dist/index'>; | ||
} | ||
declare module '@storybook/addon-links/dist/manager.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/dist/manager'>; | ||
} | ||
declare module '@storybook/addon-links/dist/preview.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/dist/preview'>; | ||
} | ||
declare module '@storybook/addon-links/dist/react/components/link.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/dist/react/components/link'>; | ||
} | ||
declare module '@storybook/addon-links/dist/react/index.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/dist/react/index'>; | ||
} | ||
declare module '@storybook/addon-links/react.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/react'>; | ||
} | ||
declare module '@storybook/addon-links/register.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/register'>; | ||
} | ||
declare module '@storybook/addon-links/src/index.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/index'>; | ||
} | ||
declare module '@storybook/addon-links/src/manager.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/manager'>; | ||
} | ||
declare module '@storybook/addon-links/src/preview.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/preview'>; | ||
} | ||
declare module '@storybook/addon-links/src/preview.test.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/preview.test'>; | ||
} | ||
declare module '@storybook/addon-links/src/react/components/link.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/react/components/link'>; | ||
} | ||
declare module '@storybook/addon-links/src/react/components/link.test.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/react/components/link.test'>; | ||
} | ||
declare module '@storybook/addon-links/src/react/index.js' { | ||
declare module.exports: $Exports<'@storybook/addon-links/src/react/index'>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// flow-typed signature: c2e1b132d2729c977d6b3e54e0134de5 | ||
// flow-typed version: 1709d3212d/@storybook/react_v3.x.x/flow_>=v0.28.x | ||
|
||
type NodeModule = typeof module; | ||
|
||
declare module '@storybook/react' { | ||
declare type Renderable = React$Element<any>; | ||
declare type RenderFunction = () => Renderable; | ||
|
||
declare type StoryDecorator = ( | ||
story: RenderFunction, | ||
context: { kind: string, story: string } | ||
) => Renderable | null; | ||
|
||
declare interface Story { | ||
add(storyName: string, callback: RenderFunction): Story, | ||
addDecorator(decorator: StoryDecorator): Story, | ||
} | ||
|
||
declare interface StoryObject { | ||
name: string, | ||
render: RenderFunction, | ||
} | ||
|
||
declare interface StoryBucket { | ||
kind: string, | ||
stories: Array<StoryObject>, | ||
} | ||
|
||
declare function addDecorator(decorator: StoryDecorator): void; | ||
declare function configure(fn: () => void, module: NodeModule): void; | ||
declare function setAddon(addon: Object): void; | ||
declare function storiesOf(name: string, module: NodeModule): Story; | ||
declare function storiesOf<T>(name: string, module: NodeModule): Story & T; | ||
|
||
declare function getStorybook(): Array<StoryBucket>; | ||
} |
Oops, something went wrong.