mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-16 13:46:16 +02:00
Compare commits
2 Commits
f34d9bbdbd
...
v6.2.0
Author | SHA1 | Date | |
---|---|---|---|
a352f12279 | |||
bb559cbe53 |
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user