aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/PasteModal.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-06 16:09:51 -0800
committerjackyzha0 <[email protected]>2021-03-06 16:09:51 -0800
commitdbf726d9e021a692254defdab8b993063b15354f (patch)
tree1853ac5edece80de76346df0bff47cda4e4310ae /frontend/src/components/modals/PasteModal.js
parentfix modal zindex (diff)
downloadctrl-v-dbf726d9e021a692254defdab8b993063b15354f.tar.xz
ctrl-v-dbf726d9e021a692254defdab8b993063b15354f.zip
update watermark styling
Diffstat (limited to 'frontend/src/components/modals/PasteModal.js')
-rw-r--r--frontend/src/components/modals/PasteModal.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/components/modals/PasteModal.js b/frontend/src/components/modals/PasteModal.js
index c91bbb4..ff2e639 100644
--- a/frontend/src/components/modals/PasteModal.js
+++ b/frontend/src/components/modals/PasteModal.js
@@ -4,6 +4,7 @@ import {LeftPad, ModalHeader, modalStyles, RightPad} from './shared'
import { useHistory } from 'react-router-dom';
import { Text } from '../Inputs'
import { useClipboard } from 'use-clipboard-copy';
+import {Button} from "../Form/Button";
const PasteModal = (props) => {
const history = useHistory();
@@ -35,17 +36,16 @@ const PasteModal = (props) => {
ref={clipboard.target} />
</RightPad>
<LeftPad>
- <button
- className="lt-button lt-shadow lt-hover"
+ <Button
type="submit">
view
- </button>
- <button
- className="lt-button lt-shadow lt-hover"
+ </Button>
+ <Button
+ secondary
type="button"
onClick={clipboard.copy}>
{clipboard.copied ? 'copied' : 'copy url'}
- </button>
+ </Button>
</LeftPad>
</form>
</Modal>