mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
17 lines
398 B
TypeScript
17 lines
398 B
TypeScript
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>;
|
|
}
|