mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(home): move edge device to view [EE-4559] (#8189)
Co-authored-by: matias.spinarolli <matias.spinarolli@portainer.io>
This commit is contained in:
parent
b4a6f6911c
commit
7fe0712b61
72 changed files with 988 additions and 1593 deletions
|
@ -1,4 +1,5 @@
|
|||
import { ComponentType, PropsWithChildren, ReactNode } from 'react';
|
||||
import clsx from 'clsx';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
|
||||
|
@ -6,6 +7,7 @@ interface Props {
|
|||
icon?: ReactNode | ComponentType<unknown>;
|
||||
label: string;
|
||||
description?: ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function TableTitle({
|
||||
|
@ -13,9 +15,10 @@ export function TableTitle({
|
|||
label,
|
||||
children,
|
||||
description,
|
||||
className,
|
||||
}: PropsWithChildren<Props>) {
|
||||
return (
|
||||
<div className="toolBar flex-col">
|
||||
<div className={clsx('toolBar flex-col', className)}>
|
||||
<div className="flex gap-1 p-0 w-full items-center">
|
||||
<div className="toolBarTitle">
|
||||
{icon && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue