Skip to content

Commit 921827b

Browse files
committed
add .travis.yml
1 parent b504621 commit 921827b

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
3+
os:
4+
- linux
5+
- windows
6+
7+
node_js:
8+
- 'node'
9+
- '12'
10+
- '10'
11+
12+
notifications:
13+
email:
14+
on_success: never
15+
on_failure: always

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Icon extends React.PureComponent {
5353
return (
5454
<Text
5555
{...textProps}
56-
style={[styles.default, fontStyle, style]}
56+
style={[fontStyle, style, styles.icon]}
5757
ref={this._setRef}
5858
>
5959
{getGlyph(android, ios, name)}
@@ -71,7 +71,7 @@ Icon.defaultProps = {
7171
export default Icon
7272

7373
const styles = StyleSheet.create({
74-
default: {
74+
icon: {
7575
fontFamily: 'Ionicons',
7676
fontWeight: 'normal',
7777
fontStyle: 'normal'

react-native-ionicons.podspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |s|
66

7-
s.name = package[:name]
8-
s.version = package[:version]
9-
s.summary = package[:description]
10-
s.author = package[:author]
11-
s.license = package[:license]
12-
s.homepage = package[:homepage]
7+
s.name = package["name"]
8+
s.version = package["version"]
9+
s.summary = package["description"]
10+
s.author = package["author"]
11+
s.license = package["license"]
12+
s.homepage = package["homepage"]
1313
s.platforms = { :ios => "9.0", :tvos => "9.0" }
1414
s.source = { :git => "https://github.com/arniu/react-native-ionicons.git", :tag => "v#{s.version}" }
1515
s.resources = "fonts/*.ttf"

0 commit comments

Comments
 (0)