remotion
Version:
Make videos programmatically
227 lines (226 loc) • 7.24 kB
TypeScript
import React from 'react';
import { type AbsoluteFillElementProps } from './AbsoluteFillElement.js';
import type { InteractiveBaseProps } from './Interactive.js';
export type AbsoluteFillProps = Omit<AbsoluteFillElementProps, keyof InteractiveBaseProps> & InteractiveBaseProps & {
/**
* @deprecated For internal use only
*/
readonly stack?: string;
};
export declare const absoluteFillSchema: {
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 defaultKeyframeOutput: "perceptual-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 'style.color': {
readonly type: "color";
readonly default: undefined;
readonly description: "Color";
};
readonly 'style.fontFamily': {
readonly type: "font-family";
readonly default: undefined;
readonly description: "Font family";
readonly keyframable: false;
};
readonly 'style.fontSize': {
readonly type: "number";
readonly default: undefined;
readonly min: 0;
readonly step: 1;
readonly description: "Font size";
readonly hiddenFromList: false;
};
readonly 'style.lineHeight': {
readonly type: "number";
readonly default: undefined;
readonly min: 0;
readonly step: 0.05;
readonly description: "Line height";
readonly hiddenFromList: false;
};
readonly 'style.fontWeight': {
readonly type: "font-weight";
readonly default: 400;
readonly description: "Font weight";
readonly keyframable: false;
};
readonly 'style.fontStyle': {
readonly type: "enum";
readonly default: "normal";
readonly description: "Font style";
readonly variants: {
readonly normal: {};
readonly italic: {};
readonly oblique: {};
};
};
readonly 'style.textAlign': {
readonly type: "enum";
readonly default: "left";
readonly description: "Text align";
readonly variants: {
readonly left: {};
readonly center: {};
readonly right: {};
readonly justify: {};
readonly start: {};
readonly end: {};
};
};
readonly 'style.letterSpacing': {
readonly type: "number";
readonly default: undefined;
readonly step: 0.1;
readonly description: "Letter spacing";
readonly hiddenFromList: false;
};
readonly 'style.borderWidth': {
readonly type: "number";
readonly default: undefined;
readonly min: 0;
readonly step: 1;
readonly description: "Border width";
readonly hiddenFromList: false;
};
readonly 'style.borderStyle': {
readonly type: "enum";
readonly default: "none";
readonly description: "Border style";
readonly variants: {
readonly none: {};
readonly hidden: {};
readonly solid: {};
readonly dashed: {};
readonly dotted: {};
readonly double: {};
readonly groove: {};
readonly ridge: {};
readonly inset: {};
readonly outset: {};
};
};
readonly 'style.borderColor': {
readonly type: "color";
readonly default: undefined;
readonly description: "Border color";
};
readonly 'style.borderRadius': {
readonly type: "number";
readonly default: 0;
readonly min: 0;
readonly step: 1;
readonly description: "Border radius";
readonly hiddenFromList: false;
readonly keyframable: true;
};
readonly 'style.borderTopLeftRadius': {
readonly type: "number";
readonly default: 0;
readonly min: 0;
readonly step: 1;
readonly description: "Top left radius";
readonly hiddenFromList: false;
};
readonly 'style.borderTopRightRadius': {
readonly type: "number";
readonly default: 0;
readonly min: 0;
readonly step: 1;
readonly description: "Top right radius";
readonly hiddenFromList: false;
};
readonly 'style.borderBottomRightRadius': {
readonly type: "number";
readonly default: 0;
readonly min: 0;
readonly step: 1;
readonly description: "Bottom right radius";
readonly hiddenFromList: false;
};
readonly 'style.borderBottomLeftRadius': {
readonly type: "number";
readonly default: 0;
readonly min: 0;
readonly step: 1;
readonly description: "Bottom left radius";
readonly hiddenFromList: false;
};
readonly 'style.backgroundColor': {
readonly type: "color";
readonly default: "transparent";
readonly description: "Color";
};
readonly children: {
readonly type: "text-content";
readonly default: "";
readonly description: "Text";
readonly keyframable: 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;
};
export declare const AbsoluteFill: React.ComponentType<Omit<AbsoluteFillElementProps, "durationInFrames" | "freeze" | "from" | "hidden" | "name" | "showInTimeline" | "trimBefore"> & InteractiveBaseProps & {
/**
* @deprecated For internal use only
*/
readonly stack?: string | undefined;
}>;