NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Style not render properly

Open jeffreyho92 opened this issue 9 years ago • 5 comments

Almost all element, style not render properly. Please Help.

"dependencies": {
    "native-base": "^2.0.12",
    "react": "15.4.2",
    "react-native": "0.42.0"
 }

Tutorial: screen shot 2017-03-05 at 11 49 36 pm

Error: screen shot 2017-03-05 at 11 49 14 pm

jeffreyho92 avatar Mar 05 '17 15:03 jeffreyho92

@jeffreyho92 Can you share the use-case for this

shivrajkumar avatar Mar 06 '17 11:03 shivrajkumar

I have the same problem with you and the error is Warning: Failed prop type: Invalid prop style of type number supplied to Styled(Content), expected object.

yunlongz avatar Mar 07 '17 06:03 yunlongz

I have the same problem,when I use var styles=StyleSheet.create({}) but when I use var styles={} the warning gone

tonylinyy avatar Mar 07 '17 07:03 tonylinyy

StyleSheet.create is not yet supported by NativeBase. This is a duplicate of #510, #525, #527 and #557

sankhadeeproy007 avatar Mar 09 '17 12:03 sankhadeeproy007

So this will be supported?

andidev avatar Mar 12 '17 21:03 andidev