1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00
portainer/app/portainer/components/widget/WidgetFooter.tsx

18 lines
398 B
TypeScript
Raw Normal View History

import { PropsWithChildren } from 'react';
import { useWidgetContext } from './Widget';
export const rdWidgetFooter = {
requires: '^rdWidget',
transclude: true,
template: `
<div class="widget-footer" ng-transclude></div>
`,
};
export function WidgetFooter({ children }: PropsWithChildren<unknown>) {
useWidgetContext();
return <div className="widget-footer">{children}</div>;
}