2024-02-12 20:55:58 +03:00
|
|
|
import React, { forwardRef, HTMLAttributes } from 'react';
|
|
|
|
import { InputLayout } from '../input-layout/input-layout';
|
|
|
|
|
|
|
|
export const Slider = forwardRef<
|
|
|
|
HTMLInputElement,
|
|
|
|
HTMLAttributes<HTMLInputElement>
|
|
|
|
>((props, ref) => {
|
2024-02-13 22:31:16 +03:00
|
|
|
return (
|
|
|
|
<InputLayout
|
|
|
|
className={props.className}
|
|
|
|
ref={ref}
|
|
|
|
type={'range'}
|
|
|
|
typeInput={'slider'}
|
|
|
|
/>
|
|
|
|
);
|
2024-02-12 20:55:58 +03:00
|
|
|
});
|