1
0
Fork 0
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:
Chaim Lev-Ari 2024-08-28 13:38:27 -06:00 committed by GitHub
parent 6e14ac583b
commit 9797201c2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 33 additions and 9 deletions

View file

@ -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>
);