Web: Components: Label: Now accepts elements as text
This commit is contained in:
parent
aed957fb36
commit
5e4da4d32d
@ -50,8 +50,8 @@ Label.propTypes = {
|
||||
truncate: PropTypes.bool,
|
||||
/** The field ID to which the label is attached */
|
||||
htmlFor: PropTypes.string,
|
||||
/** Text */
|
||||
text: PropTypes.string,
|
||||
/** Text or element */
|
||||
text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
||||
/** Sets the 'display' property */
|
||||
display: PropTypes.string,
|
||||
/** Class name */
|
||||
|
Loading…
Reference in New Issue
Block a user