Created custom Loader component

This commit is contained in:
John Lyon-Smith
2018-03-02 08:55:17 -08:00
parent 5e790ba65c
commit 30fcdf9d77
13 changed files with 113 additions and 31 deletions

View File

@@ -6,8 +6,8 @@ import { reactAutoBind } from 'auto-bind2'
export class Dimmer extends Component {
static propTypes = {
active: PropTypes.bool.isRequired,
children: PropTypes.node,
active: PropTypes.bool
}
constructor(props) {