mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
refactor editos
This commit is contained in:
parent
03ddb1862c
commit
5e9c111e0f
149 changed files with 416 additions and 317 deletions
11
src/components/common/DialogTitle/index.tsx
Normal file
11
src/components/common/DialogTitle/index.tsx
Normal file
|
@ -0,0 +1,11 @@
|
|||
import React, { FC, ReactNode } from 'react';
|
||||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
interface IProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
const DialogTitle: FC<IProps> = ({ children }) => <h2 className={styles.title}>{children}</h2>;
|
||||
|
||||
export { DialogTitle };
|
6
src/components/common/DialogTitle/styles.module.scss
Normal file
6
src/components/common/DialogTitle/styles.module.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.title {
|
||||
margin: $gap 0 $gap * 4 !important;
|
||||
text-transform: uppercase;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue