2016-07-28 5 views

答えて

0

このファイルでhttps://github.com/GeekyAnts/NativeBase/blob/master/Components/Widgets/Button.js

を見てみるとTouchableHighlightコンポーネントのスタイルは、あなたが<Button bordered=true />をしたのであればborderWidth: (this.props.bordered) ? 1 : 0,

を持つメソッドprepareRootProps

を使用して設定されています。 borderWidthを1に設定します。ただし、独自の幅を定義することはできません。

関連する問題