mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
started creating login register dialog
This commit is contained in:
parent
ff8ecba6db
commit
70e08b286d
7 changed files with 42 additions and 10 deletions
10
src/components/dialogs/DialogTitle/index.tsx
Normal file
10
src/components/dialogs/DialogTitle/index.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import React, { FC, ReactNode } from 'react';
|
||||
import styles from './styles.scss';
|
||||
|
||||
interface IProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
const DialogTitle: FC<IProps> = ({ children }) => <h2 className={styles.title}>{children}</h2>;
|
||||
|
||||
export { DialogTitle };
|
4
src/components/dialogs/DialogTitle/styles.scss
Normal file
4
src/components/dialogs/DialogTitle/styles.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
.title {
|
||||
margin: $gap 0 $gap * 4 !important;
|
||||
text-transform: uppercase;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue