Skip to content

Commit

Permalink
Add Soundcloud preload to props files
Browse files Browse the repository at this point in the history
  • Loading branch information
albanqoku committed Mar 24, 2019
1 parent 20d73bd commit b4751b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface TrackProps {

export interface SoundCloudConfig {
options?: Object;
preload?: boolean;
}

export interface YouTubeConfig {
Expand Down
3 changes: 2 additions & 1 deletion src/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export const propTypes = {
]),
config: shape({
soundcloud: shape({
options: object
options: object,
preload: bool
}),
youtube: shape({
playerVars: object,
Expand Down

0 comments on commit b4751b7

Please sign in to comment.