Skip to content

Commit

Permalink
Merge pull request #14 from joscha/patch-1
Browse files Browse the repository at this point in the history
Add type definition
  • Loading branch information
Muhammed Thanish authored Mar 13, 2017
2 parents d6ffe39 + 2ef2b88 commit e6bcc01
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"@kadira/storybook-addons": "^1.5.0",
"react": "^0.14.7 || ^15.0.0",
"react-dom": "^0.14.7 || ^15.0.0"
}
},
"typings": "./storybook-addon-options.d.ts"
}
12 changes: 12 additions & 0 deletions storybook-addon-options.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
interface Options {
name?: string;
url?: string;
goFullScreen?: boolean;
showLeftPanel?: boolean;
showDownPanel?: boolean;
showSearchBox?: boolean;
downPanelInRight?: boolean;
sortStoriesByKind?: boolean;
}

export function setOptions(options: Options): void;

0 comments on commit e6bcc01

Please sign in to comment.