@@ -11,7 +11,7 @@ export default class BadgesScreen extends Component {
1111 super ( props ) ;
1212
1313 this . state = {
14- value : 42 ,
14+ value : 42
1515 } ;
1616 }
1717
@@ -31,7 +31,7 @@ export default class BadgesScreen extends Component {
3131 </ Text >
3232 < View row center style = { { alignItems : 'flex-start' } } >
3333 < View center paddingH-10 >
34- < Badge label = { this . state . value . toString ( ) } backgroundColor = { Colors . red30 } />
34+ < Badge label = { this . state . value . toString ( ) } backgroundColor = { Colors . red30 } />
3535 < Badge
3636 label = { this . state . value . toString ( ) }
3737 containerStyle = { { marginTop : BadgesSpace } }
@@ -47,15 +47,15 @@ export default class BadgesScreen extends Component {
4747 </ View >
4848
4949 < View center paddingH-10 >
50- < Badge label = { '9999' } labelFormatterLimit = { 3 } />
50+ < Badge label = { '9999' } labelFormatterLimit = { 3 } />
5151 < Badge
5252 label = { '999' }
5353 labelFormatterLimit = { 2 }
5454 containerStyle = { { marginTop : BadgesSpace } }
5555 borderWidth = { 2 }
5656 borderColor = { Colors . white }
5757 />
58- < Badge labelFormatterLimit = { 1 } size = "small" label = { '99999999' } containerStyle = { { marginTop : BadgesSpace } } />
58+ < Badge labelFormatterLimit = { 1 } size = "small" label = { '99999999' } containerStyle = { { marginTop : BadgesSpace } } />
5959 </ View >
6060 </ View >
6161
@@ -89,40 +89,40 @@ export default class BadgesScreen extends Component {
8989 style = { { justifyContent : 'space-around' , alignItems : 'flex-start' , width : 140 , height : 140 } }
9090 >
9191 < Text text80 row >
92- size={ "{ 'pimpleSmall'}" }
92+ size={ '{\ 'pimpleSmall\'}' }
9393 </ Text >
94- < Text text80 > size={ "{ 'pimpleBig'}" } </ Text >
94+ < Text text80 > size={ '{\ 'pimpleBig\'}' } </ Text >
9595 < Text text80 row >
96- size={ "{ 'pimpleHuge'}" }
96+ size={ '{\ 'pimpleHuge\'}' }
9797 </ Text >
9898 </ View >
9999
100100 < View center column style = { { justifyContent : 'space-around' , width : 40 , height : 140 } } >
101- < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . green30 } size = { 'pimpleSmall' } />
102- < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . red30 } size = { 'pimpleBig' } />
103- < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . blue30 } size = { 'pimpleHuge' } />
101+ < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . green30 } size = { 'pimpleSmall' } />
102+ < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . red30 } size = { 'pimpleBig' } />
103+ < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . blue30 } size = { 'pimpleHuge' } />
104104 </ View >
105105 </ View >
106106 < Text text50 marginB-10 row center marginT-25 >
107107 Icon Badges
108108 </ Text >
109109 < View row paddingH-15 >
110110 < View style = { styles . iconBadgeColumnContainer } >
111- < Badge size = { 'small' } icon = { star } borderWidth = { 1 } borderColor = { Colors . red30 } />
111+ < Badge size = { 'small' } icon = { star } borderWidth = { 1 } borderColor = { Colors . red30 } />
112112 < Text text80 style = { { marginTop : 10 } } >
113113 small(16)
114114 </ Text >
115115 </ View >
116116
117117 < View style = { styles . iconBadgeColumnContainer } >
118- < Badge icon = { star } iconStyle = { { tintColor : Colors . red30 } } />
118+ < Badge icon = { star } iconStyle = { { tintColor : Colors . red30 } } />
119119 < Text text80 style = { { marginTop : 10 } } >
120120 default(20)
121121 </ Text >
122122 </ View >
123123
124124 < View style = { styles . iconBadgeColumnContainer } >
125- < Badge size = { 'large' } icon = { star } iconStyle = { { backgroundColor : Colors . red30 } } />
125+ < Badge size = { 'large' } icon = { star } iconStyle = { { backgroundColor : Colors . red30 } } />
126126 < Text text80 style = { { marginTop : 10 } } >
127127 large(24)
128128 </ Text >
@@ -137,12 +137,12 @@ const styles = StyleSheet.create({
137137 container : {
138138 alignItems : 'center' ,
139139 padding : 20 ,
140- backgroundColor : Colors . dark70 ,
140+ backgroundColor : Colors . dark70
141141 } ,
142142 iconBadgeColumnContainer : {
143143 flex : 1 ,
144144 justifyContent : 'space-between' ,
145145 alignItems : 'center' ,
146- flexDirection : 'column' ,
147- } ,
146+ flexDirection : 'column'
147+ }
148148} ) ;
0 commit comments