Skip to content

Commit

Permalink
Fixed Angular button example story (#9540)
Browse files Browse the repository at this point in the history
Fixed Angular button example story
  • Loading branch information
ndelangen authored and shilman committed Jan 21, 2020
1 parent 09dbdab commit cd3cc78
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: '😀 😎 👍 💯',
},
});

Expand All @@ -29,7 +29,7 @@ Emoji.story = {
export const WithSomeEmojiAndAction = () => ({
component: Button,
props: {
Text: '😀 😎 👍 💯',
text: '😀 😎 👍 💯',
onClick: action('This was clicked OMG'),
},
});
Expand All @@ -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'),
},
});
Expand Down

0 comments on commit cd3cc78

Please sign in to comment.