mirror of https://github.com/vector-im/riot-web
Tweak comment about field ID
Co-Authored-By: jryans <jryans@gmail.com>pull/21833/head
parent
efd5405267
commit
36ffbef010
|
@ -19,7 +19,7 @@ import PropTypes from 'prop-types';
|
||||||
|
|
||||||
export default class Field extends React.PureComponent {
|
export default class Field extends React.PureComponent {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
// The field's id, which binds the input and label together.
|
// The field's ID, which binds the input and label together.
|
||||||
id: PropTypes.string.isRequired,
|
id: PropTypes.string.isRequired,
|
||||||
// The field's <input> type. Defaults to "text".
|
// The field's <input> type. Defaults to "text".
|
||||||
type: PropTypes.string,
|
type: PropTypes.string,
|
||||||
|
|
Loading…
Reference in New Issue