typed some components

This commit is contained in:
muerwre 2019-02-21 14:54:00 +07:00
parent a3f7fd9b46
commit a5126aff4a
7 changed files with 23 additions and 31 deletions

View file

@ -0,0 +1,10 @@
import * as React from 'react';
export const UserPicture = ({ photo }) => (
<div
className="user-button-picture"
style={{
backgroundImage: `url(${photo})`
}}
/>
);