janda
V2EX  ›  问与答

请问 react native 文本断行不生效?

  •  
  •   janda · May 24, 2021 · 1456 views
    This topic created in 1822 days ago, the information mentioned may be changed or developed.

    Text 组件用得: word-break:break-all

    搜下了、才发现 rn 是没有这个了!只有 react 才有!请问下大佬们、有什么方法实现这个方法么

    就像这样一样: https://developer.mozilla.org/zh-CN/docs/Web/CSS/word-break

    1 replies    2023-06-14 16:12:22 +08:00
    TKI
        1
    TKI  
       Jun 14, 2023
    老哥,最后是怎么实现的?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:56 · PVG 02:56 · LAX 11:56 · JFK 14:56
    ♥ Do have faith in what you're doing.