mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 21:39:40 +02:00
9 lines
249 B
TypeScript
9 lines
249 B
TypeScript
import { Children, PropsWithChildren } from 'react';
|
|
|
|
export function TableTitleActions({ children }: PropsWithChildren<unknown>) {
|
|
if (Children.count(children) === 0) {
|
|
return null;
|
|
}
|
|
|
|
return <div className="settings">{children}</div>;
|
|
}
|