Better emoji support in linkify/previews

This commit is contained in:
Fedor Indutny 2021-06-30 10:00:02 -07:00 committed by GitHub
parent 65ad608aa7
commit 773aa9af19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 337 additions and 260 deletions

View file

@ -32,6 +32,14 @@ story.add('Links with Text', () => {
return <Linkify {...props} />;
});
story.add('Links with Emoji without space', () => {
const props = createProps({
text: '👍https://www.signal.org😎',
});
return <Linkify {...props} />;
});
story.add('No Link', () => {
const props = createProps({
text: 'I am fond of cats',