mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
map_list: initial
urls: editing now handled through urls
This commit is contained in:
parent
3771e5d338
commit
0d9bad9095
23 changed files with 386 additions and 68 deletions
16
src/containers/LeftDialog.jsx
Normal file
16
src/containers/LeftDialog.jsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
// @flow
|
||||
import React from 'react';
|
||||
import { DIALOGS } from '$constants/dialogs';
|
||||
import { MapListDialog } from '$components/dialogs/MapListDialog';
|
||||
import classnames from 'classnames';
|
||||
|
||||
type Props = {
|
||||
dialog: String,
|
||||
dialog_active: Boolean,
|
||||
}
|
||||
|
||||
export const LeftDialog = ({ dialog, dialog_active }: Props) => (
|
||||
<div className={classnames('dialog', { active: dialog_active })}>
|
||||
{ dialog === DIALOGS.MAP_LIST && <MapListDialog /> }
|
||||
</div>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue