UNPKG

remotion

Version:

Make videos programmatically

113 lines (112 loc) 3.55 kB
import React from 'react'; import type { InteractiveBaseProps } from '../Interactive.js'; import type { EffectsProp } from './effect-types.js'; type MandatoryProps = { readonly width: number; readonly height: number; }; type OptionalProps = { readonly color: string | undefined; readonly effects: EffectsProp; readonly className: string | undefined; readonly style: React.CSSProperties | undefined; readonly pixelDensity: number | undefined; }; export type SolidProps = MandatoryProps & Partial<OptionalProps>; export declare const solidSchema: { readonly 'style.transformOrigin': { readonly type: "transform-origin"; readonly step: 1; readonly default: "50% 50%"; readonly description: "Transform origin"; }; readonly 'style.translate': { readonly type: "translate"; readonly step: 1; readonly default: "0px 0px"; readonly description: "Offset"; }; readonly 'style.scale': { readonly type: "scale"; readonly max: 100; readonly step: 0.01; readonly default: 1; readonly description: "Scale"; }; readonly 'style.rotate': { readonly type: "rotation-css"; readonly step: 1; readonly default: "0deg"; readonly description: "Rotation"; }; readonly 'style.opacity': { readonly type: "number"; readonly min: 0; readonly max: 1; readonly step: 0.01; readonly default: 1; readonly description: "Opacity"; readonly hiddenFromList: false; }; readonly durationInFrames: { readonly type: "number"; readonly default: undefined; readonly min: 1; readonly step: 1; readonly hiddenFromList: true; }; readonly from: { readonly type: "number"; readonly default: 0; readonly step: 1; readonly hiddenFromList: true; }; readonly trimBefore: { readonly type: "number"; readonly default: 0; readonly min: 0; readonly step: 1; readonly hiddenFromList: true; }; readonly freeze: { readonly type: "number"; readonly default: null; readonly step: 1; readonly hiddenFromList: true; }; readonly hidden: import("../interactivity-schema.js").BooleanFieldSchema; readonly name: import("../interactivity-schema.js").HiddenFieldSchema; readonly showInTimeline: import("../interactivity-schema.js").HiddenFieldSchema; readonly color: { readonly type: "color"; readonly default: "transparent"; readonly description: "Color"; }; readonly width: { readonly type: "number"; readonly min: 1; readonly step: 1; readonly default: 1920; readonly description: "Width"; readonly hiddenFromList: false; }; readonly height: { readonly type: "number"; readonly min: 1; readonly step: 1; readonly default: 1080; readonly description: "Height"; readonly hiddenFromList: false; }; readonly pixelDensity: { readonly type: "number"; readonly min: 1; readonly max: 3; readonly step: 0.1; readonly default: 1; readonly description: "Pixel density"; readonly hiddenFromList: false; }; }; export declare const Solid: React.ComponentType<MandatoryProps & Partial<OptionalProps> & InteractiveBaseProps & React.RefAttributes<HTMLCanvasElement>>; export {};