Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 1, 2024
1 parent 383511a commit f5574c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
15 changes: 6 additions & 9 deletions src/renderer/src/stories/Accordion.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,36 @@ export default {
const Template = (args) => new Accordion(args);

const base = {
name: 'NWBFile',
name: "NWBFile",
open: true,
status: "valid",
content: "Whatever you want",
subtitle: "General NWB File Properties",
}

};

export const Basic = Template.bind({});
Basic.args = {
...base,
content: "Whatever you want",
}
};

export const Valid = Template.bind({});
Valid.args = {
...base,
status: "valid",
content: "WOOHOO!",
}
};

export const Warning = Template.bind({});
Warning.args = {
...base,
status: "warning",
content: "OOO",
}


};

export const Error = Template.bind({});
Error.args = {
...base,
status: "error",
content: "BOO",
}
};
7 changes: 3 additions & 4 deletions src/renderer/src/stories/Table.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ const subjectSchema = getSubjectSchema();
subjectSchema.additionalProperties = true;

const subjectTableSchema = {
type: 'array',
items: subjectSchema
}

type: "array",
items: subjectSchema,
};

export const Basic = BasicTableTemplate.bind({});
Basic.args = {
Expand Down

0 comments on commit f5574c6

Please sign in to comment.