Added UrlInput component to tidy things up a little.

This commit is contained in:
orangemug
2019-10-27 17:08:23 +00:00
parent 663f295623
commit 566201fb45
8 changed files with 126 additions and 38 deletions

View File

@@ -0,0 +1,20 @@
import React from 'react'
import PropTypes from 'prop-types'
import './SmallError.scss';
class SmallError extends React.Component {
static propTypes = {
children: PropTypes.node,
}
render () {
return (
<div className="SmallError">
Error: {this.props.children}
</div>
);
}
}
export default SmallError

View File

@@ -0,0 +1,7 @@
@import '../../styles/vars';
.SmallError {
color: #E57373;
font-size: $font-size-5;
margin-top: $margin-2
}