File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,6 @@ const sizes = {
7979 paddingBottom : 5 ,
8080 paddingEnd : 8 ,
8181 paddingLeft : 8 ,
82- marginLeft : 4 ,
83- marginRight : 4 ,
8482 } ,
8583 textStyle : {
8684 fontSize : normalize ( 12 ) ,
@@ -95,8 +93,6 @@ const sizes = {
9593 paddingBottom : 8 ,
9694 paddingRight : 14 ,
9795 paddingLeft : 14 ,
98- marginLeft : 6 ,
99- marginRight : 6 ,
10096 } ,
10197 textStyle : {
10298 fontSize : normalize ( 14 ) ,
@@ -111,8 +107,6 @@ const sizes = {
111107 paddingBottom : 13 ,
112108 paddingRight : 17 ,
113109 paddingLeft : 17 ,
114- marginLeft : 8 ,
115- marginRight : 8 ,
116110 } ,
117111 textStyle : {
118112 fontSize : normalize ( 16 ) ,
@@ -152,6 +146,10 @@ const defaultDisabledTextStyle = {
152146 color : '#d2d2d2' ,
153147} ;
154148
149+ const defaultContainerViewStyle = {
150+ borderRadius : 2 ,
151+ } ;
152+
155153export class Button extends Component {
156154 props : {
157155 icon : string ,
@@ -178,6 +176,7 @@ export class Button extends Component {
178176 { ...this . props }
179177 title = { isAndroid ? title . toUpperCase ( ) : title }
180178 raised = { isAndroid }
179+ containerViewStyle = { defaultContainerViewStyle }
181180 buttonStyle = { {
182181 ...defaultButtonStyle ,
183182 ...types [ type ] . buttonStyle ,
You can’t perform that action at this time.
0 commit comments