mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-17 08:29:54 +00:00
VolumeBar proptypes updated
This commit is contained in:
parent
5143d43434
commit
7637d293a5
1 changed files with 5 additions and 1 deletions
|
|
@ -81,7 +81,11 @@ class VolumeBar extends Component {
|
|||
VolumeBar.propTypes = {
|
||||
className: PropTypes.string,
|
||||
volume: PropTypes.number,
|
||||
toggleButtonComponent: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
||||
toggleButtonComponent: PropTypes.oneOfType([
|
||||
PropTypes.func,
|
||||
PropTypes.string,
|
||||
PropTypes.shape({ render: PropTypes.func.isRequired }),
|
||||
]).isRequired,
|
||||
dispatch: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue