mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(UI): update icons for beta and experimental features EE-5435 (#8940)
This commit is contained in:
parent
395d86dcd1
commit
b58cd1e87e
13 changed files with 51 additions and 44 deletions
|
@ -10,6 +10,7 @@ export interface Props {
|
|||
icon?: React.ReactNode;
|
||||
color?: Color;
|
||||
className?: string;
|
||||
childrenWrapperClassName?: string;
|
||||
}
|
||||
|
||||
export function TextTip({
|
||||
|
@ -17,12 +18,13 @@ export function TextTip({
|
|||
icon = AlertCircle,
|
||||
className,
|
||||
children,
|
||||
childrenWrapperClassName = 'text-muted',
|
||||
}: PropsWithChildren<Props>) {
|
||||
return (
|
||||
<div className={clsx('small inline-flex gap-1', className)}>
|
||||
<Icon icon={icon} mode={getMode(color)} className="!mt-[2px]" />
|
||||
|
||||
<span className="text-muted">{children}</span>
|
||||
<span className={childrenWrapperClassName}>{children}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue