Add selectedAddonPanel to storybook__addon-options

Following https://github.com/storybooks/storybook/pull/1641
This commit is contained in:
Andrew MacLeay
2018-06-18 18:11:31 -04:00
parent 75cfa7a008
commit c5990d7b9e
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ export interface Options {
sortStoriesByKind?: boolean;
hierarchySeparator?: RegExp | string;
hierarchyRootSeparator?: RegExp | string;
selectedAddonPanel?: string;
}
export function setOptions(options: Options): void;
@@ -10,7 +10,8 @@ setOptions({
addonPanelInRight: false,
sortStoriesByKind: false,
hierarchySeparator: /\//,
hierarchyRootSeparator: /\|/
hierarchyRootSeparator: /\|/,
selectedAddonPanel: 'storybook/actions/action-panel',
});
setOptions({