Skip to content

Commit f10ef90

Browse files
authoredMar 30, 2021
Merge pull request #14391 from YozhEzhi/patch-3
[Documentation]: Update my-component-story-use-globaltype.js.mdx
2 parents 57fc3cd + 259b12a commit f10ef90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/snippets/common/my-component-story-use-globaltype.js.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const getCaptionForLocale = (locale) => {
88
case 'kr': return '안녕하세요!';
99
case 'zh': return '你好!';
1010
default:
11-
return 'Hello!',
11+
return 'Hello!';
1212
}
1313
}
1414

1515
export const StoryWithLocale = (args, { globals: { locale } }) => {
1616
const caption = getCaptionForLocale(locale);
1717
return <>{caption}</>;
1818
};
19-
```
19+
```

0 commit comments

Comments
 (0)
Please sign in to comment.