abstract range

This commit is contained in:
2026-02-24 08:02:39 +08:00
parent 72ced7866e
commit 94840c1b0a
7 changed files with 121 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
import { useState, useRef, forwardRef, useEffect, useCallback } from "react";
import { SubtitleDisplay } from "./SubtitleDisplay";
import { LightButton } from "@/design-system/base/button";
import { RangeInput } from "@/components/ui/RangeInput";
import { RangeInput } from "@/design-system/base/range";
import { getIndex, parseSrt, getNearistIndex } from "../subtitle";
import { useTranslations } from "next-intl";

View File

@@ -2,7 +2,7 @@
import React from "react";
import { SeekBarProps } from "../../types/player";
import { RangeInput } from "@/components/ui/RangeInput";
import { RangeInput } from "@/design-system/base/range";
export function SeekBar({ value, max, onChange, disabled, className }: SeekBarProps) {
return (