lbry-desktop/ui/js/component/welcome.js
2017-04-17 09:46:51 -04:00

24 lines
598 B
JavaScript

import React from 'react';
import ModalPage from './modal-page.js';
import {Link} from '../component/link.js';
export const Welcome = React.createClass({
propTypes: {
onDone: React.PropTypes.func.isRequired,
},
handleOKClicked: function() {
this.props.onDone();
},
render: function() {
return (
<ModalPage contentLabel="Welcome to LBRY" {...this.props}>
<h1>Welcome to LBRY</h1>
Content will go here...
<section>
<Link button="primary" label="OK" onClick={this.handleOKClicked} />
</section>
</ModalPage>
);
}
});