From cd3cc78523a618b65ed69b2d8429cb40c3542ecb Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 20 Jan 2020 14:20:56 +0100 Subject: [PATCH] Fixed Angular button example story (#9540) Fixed Angular button example story --- .../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'), }, });