mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Restructure repository (#426)
organized repository Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Philip Molares <git@molar.es>
This commit is contained in:
parent
66258ca615
commit
0fadc09f2b
254 changed files with 384 additions and 403 deletions
29
src/components/editor/document-bar/menus/import-menu.tsx
Normal file
29
src/components/editor/document-bar/menus/import-menu.tsx
Normal file
|
@ -0,0 +1,29 @@
|
|||
import React from 'react'
|
||||
import { Dropdown } from 'react-bootstrap'
|
||||
import { Trans } from 'react-i18next'
|
||||
import { ForkAwesomeIcon } from '../../../common/fork-awesome/fork-awesome-icon'
|
||||
|
||||
export const ImportMenu: React.FC = () => {
|
||||
return (
|
||||
<Dropdown className='small mx-1' alignRight={true}>
|
||||
<Dropdown.Toggle variant='light' size='sm' id='editor-menu-import' className=''>
|
||||
<Trans i18nKey='editor.documentBar.import'/>
|
||||
</Dropdown.Toggle>
|
||||
|
||||
<Dropdown.Menu>
|
||||
<Dropdown.Item className='small'>
|
||||
<ForkAwesomeIcon icon='dropbox' className={'mx-2'}/>
|
||||
Dropbox
|
||||
</Dropdown.Item>
|
||||
<Dropdown.Item className='small'>
|
||||
<ForkAwesomeIcon icon='github' className={'mx-2'}/>
|
||||
Gist
|
||||
</Dropdown.Item>
|
||||
<Dropdown.Item className='small'>
|
||||
<ForkAwesomeIcon icon='clipboard' className={'mx-2'}/>
|
||||
<Trans i18nKey='editor.import.clipboard'/>
|
||||
</Dropdown.Item>
|
||||
</Dropdown.Menu>
|
||||
</Dropdown>
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue