-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5964 from storybooks/5876-unicode-story-ids
Core: support unicode chars in story IDs
- Loading branch information
Showing
4 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
examples/official-storybook/stories/core/__snapshots__/unicode.stories.storyshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Storyshots Core|Unicode Кнопки 1`] = ` | ||
<p> | ||
нормальный | ||
</p> | ||
`; | ||
|
||
exports[`Storyshots Core|Unicode 바보 1`] = ` | ||
<p> | ||
🤷🏻♂️ | ||
</p> | ||
`; | ||
|
||
exports[`Storyshots Core|Unicode 😀 1`] = ` | ||
<p> | ||
❤️ | ||
</p> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from 'react'; | ||
import { storiesOf } from '@storybook/react'; | ||
|
||
storiesOf('Core|Unicode', module) | ||
.add('😀', () => <p>❤️</p>) | ||
.add('Кнопки', () => <p>нормальный</p>) | ||
.add('바보', () => <p>🤷🏻♂️</p>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters