forked from atom/github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgithub-blank-nolocal.js
29 lines (26 loc) · 1021 Bytes
/
github-blank-nolocal.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* istanbul ignore file */
import React from 'react';
import PropTypes from 'prop-types';
export default function GitHubBlankNoLocal(props) {
return (
<div className="github-NoLocal github-Blank">
<div className="github-Blank-LargeIcon icon icon-mark-github" />
<h1 className="github-Blank-banner">Welcome</h1>
<p className="github-Blank-context">How would you like to get started today?</p>
<p className="github-Blank-option">
<button className="github-Blank-actionBtn btn icon icon-repo-create" onClick={props.openCreateDialog}>
Create a new GitHub repository...
</button>
</p>
<p className="github-Blank-option">
<button className="github-Blank-actionBtn btn icon icon-repo-clone" onClick={props.openCloneDialog}>
Clone an existing GitHub repository...
</button>
</p>
</div>
);
}
GitHubBlankNoLocal.propTypes = {
openCreateDialog: PropTypes.func.isRequired,
openCloneDialog: PropTypes.func.isRequired,
};