make tags deleteable
seperate sidebar for each different category page
This commit is contained in:
18
src/elements/Popups/SubmitPopup/SubmitPopup.tsx
Normal file
18
src/elements/Popups/SubmitPopup/SubmitPopup.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import PopupBase from '../PopupBase';
|
||||
import {Button} from '../../GPElements/Button';
|
||||
|
||||
interface props {
|
||||
onHide: (_: void) => void;
|
||||
submit: (_: void) => void;
|
||||
}
|
||||
|
||||
export default function SubmitPopup(props: props): JSX.Element {
|
||||
return (
|
||||
<PopupBase title='Are you sure?' onHide={props.onHide} height='160px' width='300px'>
|
||||
<Button title='Submit' color={{backgroundColor: 'green'}} onClick={(): void => props.submit()}/>
|
||||
<Button title='Cancel' color={{backgroundColor: 'red'}} onClick={(): void => props.onHide()}/>
|
||||
</PopupBase>
|
||||
);
|
||||
|
||||
}
|
Reference in New Issue
Block a user