grommet
Version:
focus on the essential experience
18 lines (14 loc) • 981 B
TypeScript
import * as React from "react";
export interface VideoProps {
a11yTitle?: string;
alignSelf?: "start" | "center" | "end" | "stretch";
gridArea?: string;
margin?: "none" | "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | {bottom?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,horizontal?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,left?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,right?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,top?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,vertical?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string} | string;
autoPlay?: boolean;
controls?: "false" | "over" | "below";
fit?: "cover" | "contain";
loop?: boolean;
mute?: boolean;
}
declare const Video: React.ComponentClass<VideoProps & JSX.IntrinsicElements['video']>;
export { Video };