1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Convert Modal components to TypeScript

This commit is contained in:
Mark McDowall
2024-12-21 10:05:34 -08:00
parent ee1a0a1f71
commit 9d0acba000
17 changed files with 340 additions and 444 deletions
@@ -0,0 +1,16 @@
import React from 'react';
import styles from './ModalFooter.css';
interface ModalFooterProps extends React.HTMLAttributes<HTMLDivElement> {
children?: React.ReactNode;
}
function ModalFooter({ children, ...otherProps }: ModalFooterProps) {
return (
<div className={styles.modalFooter} {...otherProps}>
{children}
</div>
);
}
export default ModalFooter;