- Refactor landing page content and links for better user experience. - Introduce a new library page to display disease information with filtering and modal details. - Add a scan page for users to upload images for diagnosis with a preview modal. - Enhance login and registration pages with automatic navigation to the dashboard. - Integrate vite-tsconfig-paths for improved path resolution in Vite configuration.
13 lines
282 B
TypeScript
13 lines
282 B
TypeScript
import React, { ReactNode } from 'react';
|
|
|
|
type Props = {
|
|
children?: ReactNode;
|
|
className?: string;
|
|
};
|
|
|
|
export function ModalFooter({ children, className }: Props) {
|
|
return <div className={`mt-4 text-right ${className ?? ''}`}>{children}</div>;
|
|
}
|
|
|
|
export default ModalFooter;
|