/* * Copyright (C) Contributors to the Suwayomi project * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import Slider, { SliderProps } from '@mui/material/Slider'; import Typography, { TypographyProps } from '@mui/material/Typography'; import Stack from '@mui/material/Stack'; import { ResetButton } from '@/features/core/components/buttons/ResetButton.tsx'; export const SliderInput = ({ label, value, onDefault, slotProps, }: { label: string; value: number | string; onDefault?: () => void; slotProps?: { label?: TypographyProps; value?: TypographyProps; slider?: SliderProps; }; }) => ( {label} {value} {onDefault && } );