mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-28 22:15:12 -04:00
show local and remote History (#128)
* added history toolbar functionality for local and remote history
This commit is contained in:
parent
23c854dc9a
commit
7b5b73a289
19 changed files with 336 additions and 130 deletions
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue