+
)
}
-export default Dialog
\ No newline at end of file
+export default Dialog
diff --git a/src/components/dialogs/DialogActions.tsx b/src/components/dialogs/DialogActions.tsx
index bd190a4..ba524ae 100644
--- a/src/components/dialogs/DialogActions.tsx
+++ b/src/components/dialogs/DialogActions.tsx
@@ -1,31 +1,23 @@
import { ReactNode } from 'react'
export interface DialogActionsProps {
- children: ReactNode;
- className?: string;
- align?: 'start' | 'center' | 'end';
+ children: ReactNode
+ className?: string
+ align?: 'start' | 'center' | 'end'
}
/**
* Actions container for dialog footers
* Provides consistent spacing and alignment for action buttons
*/
-const DialogActions = ({
- children,
- className = '',
- align = 'end'
-}: DialogActionsProps) => {
+const DialogActions = ({ children, className = '', align = 'end' }: DialogActionsProps) => {
const alignClass = {
start: 'justify-start',
center: 'justify-center',
- end: 'justify-end'
- }[align];
+ end: 'justify-end',
+ }[align]
- return (
-
- {children}
-
- )
+ return
{children}
}
-export default DialogActions
\ No newline at end of file
+export default DialogActions
diff --git a/src/components/dialogs/DialogBody.tsx b/src/components/dialogs/DialogBody.tsx
index 8c16f5e..9ab6433 100644
--- a/src/components/dialogs/DialogBody.tsx
+++ b/src/components/dialogs/DialogBody.tsx
@@ -1,8 +1,8 @@
import { ReactNode } from 'react'
export interface DialogBodyProps {
- children: ReactNode;
- className?: string;
+ children: ReactNode
+ className?: string
}
/**
@@ -10,11 +10,7 @@ export interface DialogBodyProps {
* Contains the main content with scrolling capability
*/
const DialogBody = ({ children, className = '' }: DialogBodyProps) => {
- return (
-
- {children}
-
- )
+ return
{children}
}
-export default DialogBody
\ No newline at end of file
+export default DialogBody
diff --git a/src/components/dialogs/DialogFooter.tsx b/src/components/dialogs/DialogFooter.tsx
index 939cb39..3ae6408 100644
--- a/src/components/dialogs/DialogFooter.tsx
+++ b/src/components/dialogs/DialogFooter.tsx
@@ -1,8 +1,8 @@
import { ReactNode } from 'react'
export interface DialogFooterProps {
- children: ReactNode;
- className?: string;
+ children: ReactNode
+ className?: string
}
/**
@@ -10,11 +10,7 @@ export interface DialogFooterProps {
* Contains action buttons and optional status information
*/
const DialogFooter = ({ children, className = '' }: DialogFooterProps) => {
- return (
-
- {children}
-
- )
+ return
{children}
}
-export default DialogFooter
\ No newline at end of file
+export default DialogFooter
diff --git a/src/components/dialogs/DialogHeader.tsx b/src/components/dialogs/DialogHeader.tsx
index 1418a92..194b7d4 100644
--- a/src/components/dialogs/DialogHeader.tsx
+++ b/src/components/dialogs/DialogHeader.tsx
@@ -1,9 +1,9 @@
import { ReactNode } from 'react'
export interface DialogHeaderProps {
- children: ReactNode;
- className?: string;
- onClose?: () => void;
+ children: ReactNode
+ className?: string
+ onClose?: () => void
}
/**
@@ -15,11 +15,7 @@ const DialogHeader = ({ children, className = '', onClose }: DialogHeaderProps)
{children}
{onClose && (
-