Step 15
Let's update the Definitions.js
as follows.
function Search() {
return (
<section className="section">
<div className="field has-addons">
<div className="control is-expanded">
<input className="input is-large is-fullwidth" id="define-input" placeholder="Enter a word" type="text"/>
</div>
<div className="control">
<button className="button is-info is-large" id="define-btn">
Define
</button>
</div>
</div>
</section>
);
}
export default Search;
Here is the updated app:
The app is coming together, but the primary function, to fetch the definitions and phonetics for a given word, is missing.