Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / components / atoms / Video / typings.ts
Size: Mime:
export type VideoSourceType = 'webm' | 'ogg' | 'mp4' | string
export type AutoPlay = boolean | undefined
export type URL = string
export type SourceType = VideoSourceType | Array<VideoSourceType>
export interface SourceProps {
  src: SourceType
}

export interface VideoTypes {
  src: SourceType
  cover?: URL
  shouldAutoPlay?: AutoPlay
  shouldLoop?: boolean
  hasNativeControls?: boolean
  muted?: boolean
  preload?: string
  className?: string
  isPaused?: boolean | undefined
}
export { VideoTypes as VideoProps }
export interface AliasedVideoTypes extends VideoTypes {
  shouldAutoplay?: boolean
  thumbnailImage?: string
  poster?: string
}