Skip to content

Commit 998b2e9

Browse files
committed
update readme
1 parent 9f0eeda commit 998b2e9

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,26 @@
3434
compile project(':react-native-firebase-ui')
3535
```
3636

37-
#### Windows
38-
[Read it! :D](https://github.com/ReactWindows/react-native)
39-
40-
1. In Visual Studio add the `RNFirebaseUi.sln` in `node_modules/react-native-firebase-ui/windows/RNFirebaseUi.sln` folder to their solution, reference from their app.
41-
2. Open up your `MainPage.cs` app
42-
- Add `using Com.Reactlibrary.RNFirebaseUi;` to the usings at the top of the file
43-
- Add `new RNFirebaseUiPackage()` to the `List<IReactPackage>` returned by the `Packages` method
44-
4537

4638
## Usage
4739
```javascript
48-
import RNFirebaseUi from 'react-native-firebase-ui';
49-
50-
// TODO: What to do with the module?
51-
RNFirebaseUi;
40+
import Firebaseimage from 'react-native-firebaseui'
41+
42+
export class MyFirebaseImage extends Component<void, void, void> {
43+
constructor(props){
44+
super(props)
45+
}
46+
47+
render() {
48+
let imageProps = this.props
49+
50+
return (
51+
<Firebaseimage
52+
{...imageProps}
53+
path='firebase/storage/path'
54+
resizeMode='cover' //'cover', 'contain', 'stretch'
55+
/>
56+
)
57+
}
58+
}
5259
```
53-

0 commit comments

Comments
 (0)