Pull in frontend

This commit is contained in:
Laszlo Fogas
2019-11-12 14:27:39 +01:00
parent e69106809b
commit 61a14df51b
153 changed files with 25134 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
import React, { Component } from "react";
import styles from "./avatar.less";
export default class Avatar extends Component {
render() {
const image = this.props.image;
const style = {
backgroundImage: `url(${image})`,
};
return <div className={styles.avatar} style={style} />;
}
}