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:
parent
090268d7b6
commit
6d3a33635d
9 changed files with 71 additions and 76 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue