mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
feat(ui): ui change for create access token EE-3541 (#7366)
* ui change for create access token
This commit is contained in:
parent
0ba10b44ec
commit
d4d80ed8f7
2 changed files with 12 additions and 12 deletions
|
@ -1,6 +1,8 @@
|
|||
import { PropsWithChildren } from 'react';
|
||||
import clsx from 'clsx';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
|
||||
import { Button } from '../Button';
|
||||
|
||||
import styles from './CopyButton.module.css';
|
||||
|
@ -31,7 +33,7 @@ export function CopyButton({
|
|||
title="Copy Value"
|
||||
type="button"
|
||||
>
|
||||
<i className="fa fa-copy space-right" aria-hidden="true" /> {children}
|
||||
<Icon icon="copy" feather /> {children}
|
||||
</Button>
|
||||
|
||||
<span
|
||||
|
@ -41,7 +43,7 @@ export function CopyButton({
|
|||
'space-left'
|
||||
)}
|
||||
>
|
||||
<i className="fa fa-check" aria-hidden="true" />
|
||||
<Icon icon="check" feather />
|
||||
{displayText && <span className="space-left">{displayText}</span>}
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue