mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
cropper: separate crop panel
This commit is contained in:
parent
6f21b909c0
commit
b85141046d
5 changed files with 54 additions and 46 deletions
39
src/components/panels/RendererPanel.jsx
Normal file
39
src/components/panels/RendererPanel.jsx
Normal file
|
@ -0,0 +1,39 @@
|
|||
import React from 'react';
|
||||
import { Icon } from '$components/panels/Icon';
|
||||
|
||||
type Props = {
|
||||
|
||||
};
|
||||
|
||||
export const RendererPanel = ({ onCancel, onSubmit }): Props => (
|
||||
<div
|
||||
className="panel active center"
|
||||
style={{ zIndex: 1000 }}
|
||||
>
|
||||
<div className="control-bar control-bar-padded">
|
||||
<button>
|
||||
<Icon icon="icon-logo-3" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
);
|
|
@ -93,7 +93,7 @@ export class Component extends React.PureComponent<Props, void> {
|
|||
<button
|
||||
onClick={this.props.takeAShot}
|
||||
>
|
||||
<Icon icon="icon-shot-3" />
|
||||
<Icon icon="icon-shot-2" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue