Skip to content

Commit

Permalink
docs(CodeSnippet): change default story feedback text
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Jan 13, 2020
1 parent 24b2b66 commit c90d77e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/react/src/components/CodeSnippet/CodeSnippet-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import CodeSnippetSkeleton from './CodeSnippet.Skeleton';
const props = {
inline: () => ({
light: boolean('Light variant (light)', false),
feedback: text('Feedback text (feedback)', 'Feedback Enabled 👍'),
feedback: text('Feedback text (feedback)', 'Copied to clipboard'),
onClick: action('onClick'),
copyLabel: text(
'ARIA label for the snippet/copy button (copyLabel)',
Expand All @@ -24,7 +24,7 @@ const props = {
}),
single: () => ({
light: boolean('Light variant (light)', false),
feedback: text('Feedback text (feedback)', 'Feedback Enabled 👍'),
feedback: text('Feedback text (feedback)', 'Copied to clipboard'),
copyButtonDescription: text(
'Copy icon description (copyButtonDescription)',
'copyable code snippet'
Expand All @@ -37,7 +37,7 @@ const props = {
}),
multiline: () => ({
light: boolean('Light variant (light)', false),
feedback: text('Feedback text (feedback)', 'Feedback Enabled 👍'),
feedback: text('Feedback text (feedback)', 'Copied to clipboard'),
showMoreText: text(
'Text for "show more" button (showMoreText)',
'Show more'
Expand Down Expand Up @@ -86,7 +86,7 @@ storiesOf('CodeSnippet', module)
info: {
text: `
Code snippets are small blocks of reusable code that can be inserted in a code file.
The Inline style is for code used within a block of text.
`,
},
Expand All @@ -108,7 +108,7 @@ storiesOf('CodeSnippet', module)
info: {
text: `
Code snippets are small blocks of reusable code that can be inserted in a code file.
The Code style is for larger, multi-line code snippets.
`,
},
Expand Down Expand Up @@ -165,7 +165,7 @@ $z-indexes: (
info: {
text: `
Code snippets are small blocks of reusable code that can be inserted in a code file.
The Terminal style is for single-line .
`,
},
Expand Down

0 comments on commit c90d77e

Please sign in to comment.