mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-14 17:35:35 +01:00
Compare commits
2 Commits
acfbeb2c43
...
f34d9bbdbd
Author | SHA1 | Date | |
---|---|---|---|
|
f34d9bbdbd | ||
|
c7ff3f42f6 |
|
@ -48,15 +48,13 @@ function CopyInput({ value, ...props }) {
|
|||
|
||||
return (
|
||||
<Input type="text" value={value} ref={inputTextRef} {...props}>
|
||||
<div className="input-group-append">
|
||||
<button
|
||||
className="btn btn-outline-secondary"
|
||||
type="button"
|
||||
onClick={handleCopyClick}
|
||||
>
|
||||
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
||||
</button>
|
||||
</div>
|
||||
<button
|
||||
className="btn btn-outline-secondary"
|
||||
type="button"
|
||||
onClick={handleCopyClick}
|
||||
>
|
||||
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
||||
</button>
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user