Skip to content

Commit

Permalink
Fix the content for the stories
Browse files Browse the repository at this point in the history
  • Loading branch information
josephspurrier committed Jul 29, 2020
1 parent d741d66 commit 31070fb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/app/ui/src/component/simple-page.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ export const populated = () => ({
<SimplePage
title={text("Title", "This is the Title")}
description={text("Description", "This is a subtitle or description.")}
content={text("Content", "This is the content.")}
/>
>
{text("Content", "This is the content.")}
</SimplePage>
),
});
populated.story = {
Expand Down
16 changes: 11 additions & 5 deletions src/app/ui/src/layout/main.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ export const simplePage = () => ({
view: () => {
return m(
LayoutMain,
m(SimplePage, {
title: text("Title", "This is the Title"),
description: text("Description", "This is a subtitle or description."),
content: text("Content", "This is the content."),
})
m(
SimplePage,
{
title: text("Title", "This is the Title"),
description: text(
"Description",
"This is a subtitle or description."
),
},
[text("Content", "This is the content.")]
)
);
},
});

0 comments on commit 31070fb

Please sign in to comment.