1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-03 16:46:41 +07:00

refactored react imports

This commit is contained in:
Fedor Katurov 2023-11-20 22:35:07 +06:00
parent a9a220273f
commit 7a7b7a4bf9
253 changed files with 679 additions and 479 deletions
src/components/common/DialogTitle

View file

@ -1,4 +1,4 @@
import React, { FC, ReactNode } from 'react';
import { FC, ReactNode } from 'react';
import styles from './styles.module.scss';
@ -6,6 +6,8 @@ interface IProps {
children: ReactNode;
}
const DialogTitle: FC<IProps> = ({ children }) => <h2 className={styles.title}>{children}</h2>;
const DialogTitle: FC<IProps> = ({ children }) => (
<h2 className={styles.title}>{children}</h2>
);
export { DialogTitle };