You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/components/Widget/WidgetTaskbar.tsx

23 lines
402 B

import { PropsWithChildren } from 'react';
import { useWidgetContext } from './Widget';
interface Props {
className?: string;
}
export function WidgetTaskbar({
children,
className,
}: PropsWithChildren<Props>) {
useWidgetContext();
return (
<div className="widget-header">
<div className="row">
<div className={className}>{children}</div>
</div>
</div>
);
}