mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-06 08:26:40 +07:00
moved components to TypeScript
This commit is contained in:
parent
85b8860862
commit
0a01c91271
54 changed files with 2771 additions and 5134 deletions
|
@ -1,42 +0,0 @@
|
|||
import React from 'react';
|
||||
import { Icon } from '$components/panels/Icon';
|
||||
|
||||
type Props = {
|
||||
onCancel: Function,
|
||||
onSubmit: Function,
|
||||
};
|
||||
|
||||
export const RendererPanel = ({ onCancel, onSubmit }: Props) => (
|
||||
<div
|
||||
className="panel active center"
|
||||
style={{ zIndex: 1000 }}
|
||||
>
|
||||
<div className="control-sep" />
|
||||
|
||||
<div className="control-bar">
|
||||
<button
|
||||
className="highlighted cancel"
|
||||
onClick={onCancel}
|
||||
>
|
||||
<Icon icon="icon-cancel-1" />
|
||||
<span>Отмена</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="success"
|
||||
onClick={onSubmit}
|
||||
>
|
||||
<span>СКАЧАТЬ</span>
|
||||
<Icon icon="icon-get-1" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
/*
|
||||
<div className="control-bar control-bar-padded">
|
||||
<button>
|
||||
<Icon icon="icon-logo-3" />
|
||||
</button>
|
||||
</div>
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue