0

I am using the latest install of ShoutemUI 0.21.3 and RN 0.42.2. All buttons just have a white background. I am not using Shoutem Themes right now. I have tried styleName="confirmation" and still just a white button and no border. Am I missing something?

Here is the code on the left and the results on the right in the simulator. enter image description here

Here is a screenshot of my imports. enter image description here

4

1 回答 1

0

UI 包有一个theme.js包含所有这些的文件styleName。为了使用它,您需要@shoutem/theme安装。它是 的依赖项@shoutem/ui

此外,它dark styleName已过时。您应该使用secondary它来获得所需的效果。

于 2017-12-06T15:30:14.183 回答