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