📜  反应原生大写首字母 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:14.638000             🧑  作者: Mango

代码示例2
// I think the best way is to do it using styles (it will work for any UI framework)
// JS
sometext
// CSS
.capitalize-me::first-letter {
  text-transform: capitalize;
}