Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

446 B
Raw Blame
import { SliderWithInput } from '@lobehub/ui';
import { memo } from 'react';

import { useGenerationConfigParam } from '@/store/image/slices/generationConfig/hooks';

const FrameDurationSliderInput = memo(() => {
  const { value, setValue, min, max, step } = useGenerationConfigParam('frameDurationMs');
  return <SliderWithInput max={max} min={min} step={step} value={value} onChange={setValue} />;
});

export default FrameDurationSliderInput;