Skip to content

Commit 85068d7

Browse files
committed
docs: improve documentation
1 parent 031cc54 commit 85068d7

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# react-native-airplay-cast
22

3-
Stream content to AirPlay-enabled devices
3+
Stream audio or video to AirPlay-enabled devices.
44

55
## Installation
66

@@ -15,7 +15,7 @@ import { AirPlayButton } from "react-native-airplay-cast";
1515

1616
// ...
1717

18-
<AirPlayButton />
18+
<AirPlayButton style={{ width: 30, height: 30 }} />
1919
```
2020

2121
## Contributing

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-airplay-cast",
33
"version": "0.1.0",
4-
"description": "Stream content to AirPlay-enabled devices",
4+
"description": "Stream audio or video to AirPlay-enabled devices",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
77
"types": "lib/typescript/src/index.d.ts",
@@ -119,7 +119,10 @@
119119
]
120120
}
121121
},
122-
"eslintIgnore": ["node_modules/", "lib/"],
122+
"eslintIgnore": [
123+
"node_modules/",
124+
"lib/"
125+
],
123126
"prettier": {
124127
"quoteProps": "consistent",
125128
"singleQuote": true,
@@ -130,6 +133,10 @@
130133
"@react-native-community/bob": {
131134
"source": "src",
132135
"output": "lib",
133-
"targets": ["commonjs", "module", "typescript"]
136+
"targets": [
137+
"commonjs",
138+
"module",
139+
"typescript"
140+
]
134141
}
135142
}

0 commit comments

Comments
 (0)