@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
33 lines (29 loc) • 754 B
JavaScript
/**
* MSKCC 2021, 2024
*/
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
import PropTypes from 'prop-types';
import React__default from 'react';
import cx from 'classnames';
const LoginForm = _ref => {
let {
className,
children,
...other
} = _ref;
const formClass = cx('msk-login--form', className);
return /*#__PURE__*/React__default.createElement("form", _extends({
className: formClass
}, other), children);
};
LoginForm.propTypes = {
/**
* Provide children to be rendered inside of the <form> element
*/
children: PropTypes.node,
/**
* Provide a custom className to be applied on the containing <form> node
*/
className: PropTypes.string
};
export { LoginForm };