Skip to content

Commit

Permalink
copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardZaydler committed Oct 24, 2023
1 parent 2708e82 commit 0d75c49
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Components/TriggerEditForm/TriggerEditForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { Remarkable } from "remarkable";
import { sanitize } from "dompurify";
import RemoveIcon from "@skbkontur/react-icons/Remove";
import AddIcon from "@skbkontur/react-icons/Add";
import { Checkbox, Input, Textarea, Button, Tabs } from "@skbkontur/react-ui";
import CopyIcon from "@skbkontur/react-icons/Copy";
import { Checkbox, Input, Textarea, Button, Tabs, Hint } from "@skbkontur/react-ui";
import { RowStack, Fill, Fit } from "@skbkontur/react-stack-layout";
import {
DEFAULT_TRIGGER_TTL,
Expand Down Expand Up @@ -202,6 +203,10 @@ export default class TriggerEditForm extends React.Component<Props, State> {
validate={validationResult?.targets?.[i]}
/>
</Fill>
<Hint text="Copy as single string">
<Button use="link" icon={<CopyIcon />} onClick={() => {}} />
</Hint>

{targets.length > 1 && (
<Fit>
<Checkbox
Expand Down

0 comments on commit 0d75c49

Please sign in to comment.