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:
parent
a9a220273f
commit
7a7b7a4bf9
253 changed files with 679 additions and 479 deletions
src/components/common/DialogTitle
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue