@talend/react-components
Version:
Set of react components.
20 lines • 473 B
JavaScript
import PropTypes from 'prop-types';
import { Navbar } from '@talend/react-bootstrap';
import { jsx as _jsx } from "react/jsx-runtime";
function Label({
htmlFor,
text
}) {
return /*#__PURE__*/_jsx(Navbar.Text, {
children: /*#__PURE__*/_jsx("label", {
htmlFor: htmlFor,
children: text
})
});
}
Label.propTypes = {
htmlFor: PropTypes.string,
text: PropTypes.string.isRequired
};
export default Label;
//# sourceMappingURL=Label.component.js.map