Skip to content

🎥 Make videos programmatically with React

Merge branch 'main' into render-button

Jonny Burger061f3cf1572b
diff --cc packages/cli/src/editor/components/NewComposition/InputDragger.tsx
index c975b75a8f,6c77ddc05b..1d2a5b602b
--- a/packages/cli/src/editor/components/NewComposition/InputDragger.tsx
+++ b/packages/cli/src/editor/components/NewComposition/InputDragger.tsx
@@@ -17,9 -18,9 +18,10 @@@ type Props = InputHTMLAttributes<HTMLIn
export const InputDragger: React.FC<Props> = ({
onValueChange,
min: _min,
+ max: _max,
step: _step,
value,
+ onTextChange,
...props
}) => {
const [inputFallback, setInputFallback] = useState(false);
diff --cc packages/cli/src/preview.ts
index 6eac217c59,a26dd16410..24129d8615
--- a/packages/cli/src/preview.ts
+++ b/packages/cli/src/preview.ts
@@@ -61,9 -91,8 +74,9 @@@ export const previewCommand = async (re
process.exit(1);
}
- const {port: desiredPort} = parsedCli;
+ const desiredPort = getPort();
- const fullPath = path.join(process.cwd(), file);
+
+ const fullPath = convertEntryPointToServeUrl(file);
let inputProps = getInputProps((newProps) => {
waitForLiveEventsListener().then((listener) => {