mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
12 lines
359 B
TypeScript
12 lines
359 B
TypeScript
import React, { use } from 'react';
|
|
import { useSkin } from '@/themes/skins';
|
|
import { DialogContext } from './context';
|
|
|
|
const DialogFooter = ({ children }: { children: React.ReactNode }) => {
|
|
const ui = useSkin('Dialog', { described: use(DialogContext).described });
|
|
|
|
return <div {...ui('footer')}>{children}</div>;
|
|
};
|
|
|
|
export default DialogFooter;
|