1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00

EE-3694 update UI of docker/custom template (#7345)

This commit is contained in:
Rex Wang 2022-07-27 21:04:31 +08:00 committed by GitHub
parent 090268d7b6
commit 6d3a33635d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 71 additions and 76 deletions

View file

@ -1,5 +1,7 @@
import clsx from 'clsx';
import { Icon } from '@/react/components/Icon';
import styles from './AddButton.module.css';
export interface Props {
@ -17,13 +19,15 @@ export function AddButton({ label, onClick, className, disabled }: Props) {
'label',
'label-default',
'interactive',
'vertical-center',
styles.addButton
)}
type="button"
onClick={onClick}
disabled={disabled}
>
<i className="fa fa-plus-circle space-right" aria-hidden="true" /> {label}
<Icon icon="plus" feather className="space-right" />
{label}
</button>
);
}