grommet
Version:
focus on the essential experience
19 lines (15 loc) • 1.07 kB
TypeScript
import * as React from "react";
import { Omit } from "../../utils";
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'] & Omit<JSX.IntrinsicElements['video'], 'controls'>>;
export { Video };