mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
Small fixes
This commit is contained in:
parent
8c9e0ac23c
commit
6a0002b29e
@ -114,7 +114,7 @@ export default class ClientApi {
|
||||
);
|
||||
|
||||
addParameters = (parameters: Parameters) => {
|
||||
this._storyStore.addGlobalMetadata({ decorators: [] });
|
||||
this._storyStore.addGlobalMetadata({ parameters });
|
||||
};
|
||||
|
||||
addArgTypesEnhancer = (enhancer: ArgTypesEnhancer) => {
|
||||
|
@ -5,7 +5,7 @@ interface StoryContextUpdate {
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export const defaultContext: StoryContext = {
|
||||
const defaultContext: StoryContext = {
|
||||
id: 'unspecified',
|
||||
name: 'unspecified',
|
||||
kind: 'unspecified',
|
||||
|
Loading…
x
Reference in New Issue
Block a user