import React from 'react';

const SearchBar = () => {
	return <input />;
}

export default SearchBar;
import React from 'react';

class SearchBar extends React.Component {
	render() {
		return <input />;
	}
}

export default SearchBar;
Replace the constant with a class, add render method returning the same jsx input.
Replace the constant with a class, add render method returning the same jsx input.
