From 9e7e2c77007d5e9134b5bd6df4a3ce9a3b04785d Mon Sep 17 00:00:00 2001 From: Julian Finkler Date: Sun, 19 Jan 2020 18:39:59 +0100 Subject: [PATCH] Update 1-Button.stories.ts The property in the Angular component is lowercase. Without this change, the button example story wont work properly. (The button text isn't rendered) --- .../ANGULAR/template-csf/src/stories/1-Button.stories.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cli/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts b/lib/cli/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts index 36a3ccd6e6f3..14a3bc258b13 100644 --- a/lib/cli/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts +++ b/lib/cli/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts @@ -11,14 +11,14 @@ export default { export const Text = () => ({ component: Button, props: { - Text: 'Hello Button', + text: 'Hello Button', }, }); export const Emoji = () => ({ component: Button, props: { - Text: '😀 😎 👍 💯', + text: '😀 😎 👍 💯', }, }); @@ -29,7 +29,7 @@ Emoji.story = { export const WithSomeEmojiAndAction = () => ({ component: Button, props: { - Text: '😀 😎 👍 💯', + text: '😀 😎 👍 💯', onClick: action('This was clicked OMG'), }, }); @@ -42,7 +42,7 @@ WithSomeEmojiAndAction.story = { export const ButtonWithLinkToAnotherStory = () => ({ component: Button, props: { - Text: 'Go to Welcome Story', + text: 'Go to Welcome Story', onClick: linkTo('Welcome'), }, });