Basic UI elements in place

This commit is contained in:
John Lyon-Smith
2018-02-27 12:16:27 -08:00
parent 5faa4600f5
commit 73b5cf6caa
49 changed files with 525 additions and 937 deletions

View File

@@ -0,0 +1,18 @@
import React from 'react'
import PropTypes from 'prop-types'
import { Dimmer, Loader, Text } from 'ui'
export class WaitModal extends React.Component {
static propTypes = {
message: PropTypes.string.isRequired
}
render() {
return (
<Dimmer>
<Loader />
{this.props.message && <Text size='Huge'>{this.props.message}...</Text>}
</Dimmer>
)
}
}