mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(docker): label gpu as nvidia only [EE-6999] (#11729)
This commit is contained in:
parent
6e14ac583b
commit
9797201c2a
3 changed files with 33 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
import { PropsWithChildren } from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import { AlertCircle } from 'lucide-react';
|
||||
import clsx from 'clsx';
|
||||
|
||||
|
@ -12,6 +12,7 @@ export interface Props {
|
|||
className?: string;
|
||||
childrenWrapperClassName?: string;
|
||||
inline?: boolean;
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export function TextTip({
|
||||
|
@ -20,8 +21,8 @@ export function TextTip({
|
|||
inline = true,
|
||||
className,
|
||||
children,
|
||||
childrenWrapperClassName = 'text-muted',
|
||||
}: PropsWithChildren<Props>) {
|
||||
childrenWrapperClassName,
|
||||
}: Props) {
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
|
@ -32,7 +33,6 @@ export function TextTip({
|
|||
role="status"
|
||||
>
|
||||
<Icon icon={icon} mode={getMode(color)} className="!mt-0.5 flex-none" />
|
||||
|
||||
<span className={childrenWrapperClassName}>{children}</span>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue