refactor: rename component appropriately
This commit is contained in:
+3
-3
@@ -1,16 +1,16 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface PlaybackControlsProps {
|
||||
interface PlaybackPageIndicatorProps {
|
||||
total: number;
|
||||
current: number;
|
||||
onGoTo: (index: number) => void;
|
||||
}
|
||||
|
||||
export function PlaybackControls({
|
||||
export function PlaybackPageIndicator({
|
||||
total,
|
||||
current,
|
||||
onGoTo,
|
||||
}: PlaybackControlsProps) {
|
||||
}: PlaybackPageIndicatorProps) {
|
||||
if (total === 0) return null;
|
||||
|
||||
return (
|
||||
Reference in New Issue
Block a user