File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " react-native-material-buttons" ,
3
- "version" : " 0.6.0" ,
2
+ "name" : " @react-native-oh-tpl/ react-native-material-buttons" ,
3
+ "version" : " 0.6.0-0.0.1 " ,
4
4
"license" : " BSD-3-Clause" ,
5
5
"author" : " Alexander Nazarov <n4kz@n4kz.com>" ,
6
6
12
12
13
13
"repository" : {
14
14
"type" : " git" ,
15
- "url" : " git://github.com/n4kz /react-native-material-buttons.git"
15
+ "url" : " git://github.com/react-native-oh-library /react-native-material-buttons.git"
16
16
},
17
17
18
18
"dependencies" : {
31
31
"eslint-plugin-react" : " ^7.0.0"
32
32
},
33
33
34
+ "harmony" : {
35
+ "alias" : " react-native-material-buttons"
36
+ },
37
+
34
38
"scripts" : {
35
39
"lint" : " eslint src example/app.js example/index.js"
36
40
}
Original file line number Diff line number Diff line change @@ -99,4 +99,4 @@ npm run ios # or npm run android
99
99
100
100
BSD License
101
101
102
- Copyright 2017-2019 Alexander Nazarov. All rights reserved.
102
+ Copyright 2017-2019 Alexander Nazarov. All rights reserved.
Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React , { PureComponent } from 'react' ;
3
- import { Animated } from 'react-native' ;
3
+ import { Animated , Text } from 'react-native' ;
4
4
5
5
import RaisedButton from '../raised-button' ;
6
6
import { styles } from './styles' ;
@@ -16,7 +16,7 @@ export default class RaisedTextButton extends PureComponent {
16
16
17
17
title : PropTypes . string . isRequired ,
18
18
titleColor : PropTypes . string ,
19
- titleStyle : Animated . Text . propTypes . style ,
19
+ titleStyle : Text . propTypes . style ,
20
20
disabledTitleColor : PropTypes . string ,
21
21
} ;
22
22
Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React , { PureComponent } from 'react' ;
3
- import { Animated } from 'react-native' ;
3
+ import { Animated , Text } from 'react-native' ;
4
4
5
5
import Button from '../button' ;
6
6
import { styles } from './styles' ;
@@ -21,7 +21,7 @@ export default class TextButton extends PureComponent {
21
21
22
22
title : PropTypes . string . isRequired ,
23
23
titleColor : PropTypes . string ,
24
- titleStyle : Animated . Text . propTypes . style ,
24
+ titleStyle : Text . propTypes . style ,
25
25
disabledTitleColor : PropTypes . string ,
26
26
} ;
27
27
You can’t perform that action at this time.
0 commit comments