import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { Text } from '../text'; import { FONT_WEIGHT, TextVariant, DISPLAY, AlignItems, } from '../../../helpers/constants/design-system'; export const Label = ({ htmlFor, className, children, ...props }) => ( {children} ); Label.propTypes = { /** * The content of the label */ children: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), /** * The id of the input associated with the label */ htmlFor: PropTypes.string, /** * Additional classNames to be added to the label component */ className: PropTypes.string, };