show local and remote History (#128)

* added history toolbar functionality for local and remote history
This commit is contained in:
Philip Molares 2020-06-07 01:09:04 +02:00 committed by GitHub
parent 23c854dc9a
commit 7b5b73a289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 336 additions and 130 deletions

View file

@ -1,19 +1,17 @@
import React from 'react'
import { Button } from 'react-bootstrap'
import './close-button.scss'
import { ForkAwesomeIcon } from '../../../../../fork-awesome/fork-awesome-icon'
import './close-button.scss'
export interface CloseButtonProps {
isDark: boolean;
className?: string
}
const CloseButton: React.FC<CloseButtonProps> = ({ isDark }) => {
const CloseButton: React.FC<CloseButtonProps> = ({ isDark, className }) => {
return (
<Button variant={isDark ? 'secondary' : 'light'}>
<ForkAwesomeIcon
className="history-close"
icon="times"
/>
<Button variant={isDark ? 'secondary' : 'light'} className={`history-close ${className || ''}`}>
<ForkAwesomeIcon icon="times"/>
</Button>
)
}