mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
feat(ingress): ingresses datatable with add/edit ingresses EE-2615 (#7672)
This commit is contained in:
parent
393d1fc91d
commit
ef1d648c07
68 changed files with 4938 additions and 61 deletions
|
@ -1,16 +1,17 @@
|
|||
import { PropsWithChildren } from 'react';
|
||||
import clsx from 'clsx';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
|
||||
export function FormError({ children }: PropsWithChildren<unknown>) {
|
||||
interface Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function FormError({ children, className }: PropsWithChildren<Props>) {
|
||||
return (
|
||||
<div className="small text-warning vertical-center">
|
||||
<Icon
|
||||
icon="alert-triangle"
|
||||
feather
|
||||
className="icon icon-sm icon-warning"
|
||||
/>
|
||||
{children}
|
||||
</div>
|
||||
<p className={clsx(`text-muted small vertical-center`, className)}>
|
||||
<Icon icon="alert-triangle" className="icon-warning" feather />
|
||||
<span className="text-warning">{children}</span>
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue