mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 22:47:39 +00:00
About page with basic infos and links to github repo
This commit is contained in:
@@ -13,6 +13,7 @@ import Fixed from 'rebass/dist/Fixed'
|
||||
import MdFileDownload from 'react-icons/lib/md/file-download'
|
||||
import MdFileUpload from 'react-icons/lib/md/file-upload'
|
||||
import MdSettings from 'react-icons/lib/md/settings'
|
||||
import MdInfo from 'react-icons/lib/md/info'
|
||||
import MdLayers from 'react-icons/lib/md/layers'
|
||||
import MdSave from 'react-icons/lib/md/save'
|
||||
import MdMap from 'react-icons/lib/md/map'
|
||||
@@ -31,6 +32,8 @@ export class Toolbar extends React.Component {
|
||||
onStyleSave: React.PropTypes.func,
|
||||
// Open settings drawer
|
||||
onOpenSettings: React.PropTypes.func,
|
||||
// Open about page
|
||||
onOpenAbout: React.PropTypes.func,
|
||||
// Open sources drawer
|
||||
onOpenSources: React.PropTypes.func,
|
||||
// Open layers drawer
|
||||
@@ -116,6 +119,13 @@ export class Toolbar extends React.Component {
|
||||
</Tooltip>
|
||||
</Button>
|
||||
</Block>
|
||||
<Block>
|
||||
<Button big={true} onClick={this.props.onOpenAbout}>
|
||||
<Tooltip inverted rounded title="About">
|
||||
<MdInfo />
|
||||
</Tooltip>
|
||||
</Button>
|
||||
</Block>
|
||||
</Container>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user