Created more components for the short URLs list

This commit is contained in:
Alejandro Celaya
2018-06-17 10:59:04 +02:00
parent 853212b419
commit 6587a08ed1
8 changed files with 143 additions and 20 deletions

View File

@@ -0,0 +1,15 @@
import React from 'react';
import searchIcon from '@fortawesome/fontawesome-free-solid/faSearch';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import './SearchBar.scss';
export default class SearchBar extends React.Component {
render() {
return (
<div className="search-bar">
<input type="text" className="form-control form-control-lg search-bar__input" placeholder="Search..." />
<FontAwesomeIcon icon={searchIcon} className="search-bar__icon" />
</div>
);
}
}