diff --git a/index.d.ts b/index.d.ts index d28a584a..40436919 100644 --- a/index.d.ts +++ b/index.d.ts @@ -15,6 +15,7 @@ export interface TrackProps { export interface SoundCloudConfig { options?: Object; + preload?: boolean; } export interface YouTubeConfig { diff --git a/src/props.js b/src/props.js index 823910ec..3ac95c63 100644 --- a/src/props.js +++ b/src/props.js @@ -24,7 +24,8 @@ export const propTypes = { ]), config: shape({ soundcloud: shape({ - options: object + options: object, + preload: bool }), youtube: shape({ playerVars: object,