Skip to content

Commit cd3cc78

Browse files
ndelangenshilman
authored andcommitted
Fixed Angular button example story (#9540)
Fixed Angular button example story
1 parent 09dbdab commit cd3cc78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/cli/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ export default {
1111
export const Text = () => ({
1212
component: Button,
1313
props: {
14-
Text: 'Hello Button',
14+
text: 'Hello Button',
1515
},
1616
});
1717

1818
export const Emoji = () => ({
1919
component: Button,
2020
props: {
21-
Text: '😀 😎 👍 💯',
21+
text: '😀 😎 👍 💯',
2222
},
2323
});
2424

@@ -29,7 +29,7 @@ Emoji.story = {
2929
export const WithSomeEmojiAndAction = () => ({
3030
component: Button,
3131
props: {
32-
Text: '😀 😎 👍 💯',
32+
text: '😀 😎 👍 💯',
3333
onClick: action('This was clicked OMG'),
3434
},
3535
});
@@ -42,7 +42,7 @@ WithSomeEmojiAndAction.story = {
4242
export const ButtonWithLinkToAnotherStory = () => ({
4343
component: Button,
4444
props: {
45-
Text: 'Go to Welcome Story',
45+
text: 'Go to Welcome Story',
4646
onClick: linkTo('Welcome'),
4747
},
4848
});

0 commit comments

Comments
 (0)