Jesus sucks
This commit is contained in:
28
backend/frontend/node_modules/react-bootstrap/esm/FormRange.js
generated
vendored
Normal file
28
backend/frontend/node_modules/react-bootstrap/esm/FormRange.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
"use client";
|
||||
|
||||
import classNames from 'classnames';
|
||||
import * as React from 'react';
|
||||
import { useContext } from 'react';
|
||||
import { useBootstrapPrefix } from './ThemeProvider';
|
||||
import FormContext from './FormContext';
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
const FormRange = /*#__PURE__*/React.forwardRef(({
|
||||
bsPrefix,
|
||||
className,
|
||||
id,
|
||||
...props
|
||||
}, ref) => {
|
||||
const {
|
||||
controlId
|
||||
} = useContext(FormContext);
|
||||
bsPrefix = useBootstrapPrefix(bsPrefix, 'form-range');
|
||||
return /*#__PURE__*/_jsx("input", {
|
||||
...props,
|
||||
type: "range",
|
||||
ref: ref,
|
||||
className: classNames(className, bsPrefix),
|
||||
id: id || controlId
|
||||
});
|
||||
});
|
||||
FormRange.displayName = 'FormRange';
|
||||
export default FormRange;
|
||||
Reference in New Issue
Block a user