Spaces:
Sleeping
Sleeping
File size: 487 Bytes
76b9248 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import { Slider } from "@mantine/core";
import Label from "./Label";
export const SlideInput = ({ label, fieldProps, ...props }) => {
return (
<div className="relative">
{label && <Label>{label}</Label>}
<Slider
{...fieldProps}
{...props}
className="mb-5"
labelTransitionProps={{
transition: "fade",
duration: 400,
timingFunction: "ease",
}}
/>
</div>
);
};
export default SlideInput;
|