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:
@@ -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;
|
||||
Reference in New Issue
Block a user