Skip to content

Commit

Permalink
Merge pull request #20384 from storybookjs/OptionsParameterV7
Browse files Browse the repository at this point in the history
Types: Add Addon_OptionsParameterV7 type
  • Loading branch information
IanVS authored Dec 22, 2022
2 parents a181ae8 + 5a3bfc5 commit f326c60
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions code/lib/types/src/modules/addons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ export interface Addon_OptionsParameter extends Object {
[key: string]: any;
}

export interface Addon_OptionsParameterV7 extends Object {
storySort?: Addon_StorySortParameterV7;
theme?: {
base: string;
brandTitle?: string;
};
[key: string]: any;
}

export type Addon_StoryContext<TRenderer extends Renderer = Renderer> =
StoryContextForFramework<TRenderer>;
export type Addon_StoryContextUpdate = Partial<Addon_StoryContext>;
Expand Down

0 comments on commit f326c60

Please sign in to comment.