···11import {Children} from 'react'
22-import {type TextProps as RNTextProps} from 'react-native'
33-import {type StyleProp, type TextStyle} from 'react-native'
22+import {
33+ type StyleProp,
44+ type TextProps as RNTextProps,
55+ type TextStyle,
66+} from 'react-native'
47import {UITextView} from 'react-native-uitextview'
58import createEmojiRegex from 'emoji-regex'
69710import {type Alf, applyFonts, atoms, flatten} from '#/alf'
88-import {IS_NATIVE} from '#/env'
99-import {IS_IOS} from '#/env'
1111+import {IS_IOS, IS_NATIVE} from '#/env'
10121113/**
1214 * Ensures that `lineHeight` defaults to a relative value of `1`, or applies
···107109 })
108110}
109111110110-const SINGLE_EMOJI_RE = /^[\p{Emoji_Presentation}\p{Extended_Pictographic}]+$/u
112112+const SINGLE_EMOJI_RE =
113113+ /^[\p{Emoji_Presentation}\p{Extended_Pictographic}\uFE0F\u200D]+$/u
111114export function isOnlyEmoji(text: string) {
112115 return text.length <= 15 && SINGLE_EMOJI_RE.test(text)
113116}