Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit b30f4f8

Browse files
ftonatoAdemílson F. Tonato
authored andcommitted
Add default placeholder to 'Search Projects' input on search-box-component
1 parent 7f9b586 commit b30f4f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/search-box/search-box.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default class SearchBox extends Component {
5050
<div className="search-input-and-button-wrapper">
5151
<input
5252
onChange={::this.handleChange}
53-
placeholder={this.props.placeholder}
53+
placeholder={this.props.placeholder || 'Search Projects...'}
5454
ref={this.textInput}
5555
type={this.props.inputType || 'search'}
5656
value={this.state.value}

0 commit comments

Comments
 (0)