Skip to content

Commit 1b149c7

Browse files
authored
Merge pull request #4 from BenjaminPaap/fix/more-complete-example
Small adjustment to the example in the readme
2 parents 34709f4 + 349b246 commit 1b149c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ MPVolumeView bridge to React Native (NOTE: MPVolumeView works only on physical d
2828
#### Volume Slider
2929

3030
```javascript
31+
import React, { Component } from 'react';
32+
import { View, StyleSheet } from 'react-native';
3133
import VolumeSlider from 'react-native-volume-slider';
3234

3335
class PlayerVolume extends React.Component {

0 commit comments

Comments
 (0)