2


我想在我的应用程序中编辑 chordpro 文件。问题是:如何在歌词上显示和弦(完全正确!)
我试图用 定位和弦position: absolute。但它在 React Native 中并没有真正起作用。当然,我可以使用 HTML 语法(react-native-htmlview)。但我认为这不是最优雅的解决方案。
也许有人有解决方法?

ChordPro 语法。

{title: Swing Low Sweet Chariot}

[Chorus]
Swing [D]low, sweet [G]chari[D]ot,
Comin’ for to carry me [A7]home.

输出

      D          G    D
Swing low, sweet chariot,
                       A7
Comin’ for to carry me home.
4

0 回答 0