Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F118968330
FormCheckLabel.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jun 23, 09:31
Size
718 B
Mime Type
text/x-java
Expires
Wed, Jun 25, 09:31 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26951034
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
FormCheckLabel.js
View Options
import classNames from 'classnames';
import * as React from 'react';
import { useContext } from 'react';
import FormContext from './FormContext';
import { useBootstrapPrefix } from './ThemeProvider';
import { jsx as _jsx } from "react/jsx-runtime";
const FormCheckLabel = /*#__PURE__*/React.forwardRef(({
bsPrefix,
className,
htmlFor,
...props
}, ref) => {
const {
controlId
} = useContext(FormContext);
bsPrefix = useBootstrapPrefix(bsPrefix, 'form-check-label');
return /*#__PURE__*/_jsx("label", {
...props,
ref: ref,
htmlFor: htmlFor || controlId,
className: classNames(className, bsPrefix)
});
});
FormCheckLabel.displayName = 'FormCheckLabel';
export default FormCheckLabel;
Event Timeline
Log In to Comment