1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-29 14:46:41 +07:00

added initial profile dialog

This commit is contained in:
Fedor Katurov 2019-11-11 16:01:21 +07:00
parent f6baedc4cd
commit 618c2e3275
28 changed files with 315 additions and 58 deletions

View file

@ -2,16 +2,13 @@ import React, { FC } from 'react';
import * as styles from './styles.scss';
interface IProps {
width?: number;
width?: string;
height?: number;
color?: string;
}
const Placeholder: FC<IProps> = ({ width = 120, height, color }) => (
<div
className={styles.placeholder}
style={{ height, color, width }}
/>
const Placeholder: FC<IProps> = ({ width = '120px', height, color }) => (
<div className={styles.placeholder} style={{ height, color, width }} />
);
export { Placeholder };