mirror of https://github.com/portainer/portainer
18 lines
349 B
TypeScript
18 lines
349 B
TypeScript
|
import clsx from 'clsx';
|
||
|
import { PropsWithChildren } from 'react';
|
||
|
|
||
|
import { useTableContext } from './TableContainer';
|
||
|
|
||
|
interface Props {
|
||
|
className?: string;
|
||
|
}
|
||
|
|
||
|
export function TableActions({
|
||
|
children,
|
||
|
className,
|
||
|
}: PropsWithChildren<Props>) {
|
||
|
useTableContext();
|
||
|
|
||
|
return <div className={clsx('actionBar', className)}>{children}</div>;
|
||
|
}
|