Add placeHolder prop for EditableText
This commit is contained in:
parent
dfd54f3b95
commit
2b81f46030
2 changed files with 12 additions and 2 deletions
|
@ -22,6 +22,7 @@ module.exports = {
|
|||
propTypes: {
|
||||
onValueChanged: React.PropTypes.func,
|
||||
initalValue: React.PropTypes.string,
|
||||
placeHolder: React.PropTypes.string,
|
||||
},
|
||||
|
||||
Phases: {
|
||||
|
@ -33,6 +34,7 @@ module.exports = {
|
|||
return {
|
||||
onValueChanged: function() {},
|
||||
initalValue: '',
|
||||
placeHolder: 'Click to set',
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue