1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00
portainer/app/react/components/datatables/TableTitleActions.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
249 B
TypeScript
Raw Normal View History

import { Children, PropsWithChildren } from 'react';
export function TableTitleActions({ children }: PropsWithChildren<unknown>) {
if (Children.count(children) === 0) {
return null;
}
return <div className="settings">{children}</div>;
}