您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

strings.native.js 388B

1234567891011121314
  1. // @flow
  2. import * as unorm from 'unorm';
  3. /**
  4. * Applies NFKC normalization to the given text.
  5. * NOTE: Here we use the unorm package because the JSC version in React Native for Android crashes.
  6. *
  7. * @param {string} text - The text that needs to be normalized.
  8. * @returns {string} - The normalized text.
  9. */
  10. export function normalizeNFKC(text: string) {
  11. return unorm.nfkc(text);
  12. }