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

tried to make placeholders

This commit is contained in:
muerwre 2019-07-27 19:06:00 +07:00
parent b5b8d78cea
commit 7410376009
5 changed files with 67 additions and 1 deletions

View file

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