mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-04-21 08:16:39 +02:00
Compare commits
No commits in common. "f34d9bbdbd43c75040eaf5ec73b81dc76f0d1d2d" and "acfbeb2c4391b4cecfdc18d02630c06f2d2ef78e" have entirely different histories.
f34d9bbdbd
...
acfbeb2c43
@ -48,6 +48,7 @@ function CopyInput({ value, ...props }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Input type="text" value={value} ref={inputTextRef} {...props}>
|
<Input type="text" value={value} ref={inputTextRef} {...props}>
|
||||||
|
<div className="input-group-append">
|
||||||
<button
|
<button
|
||||||
className="btn btn-outline-secondary"
|
className="btn btn-outline-secondary"
|
||||||
type="button"
|
type="button"
|
||||||
@ -55,6 +56,7 @@ function CopyInput({ value, ...props }) {
|
|||||||
>
|
>
|
||||||
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</Input>
|
</Input>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user