mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-29 13:06:41 +07:00
typed some components
This commit is contained in:
parent
a3f7fd9b46
commit
a5126aff4a
7 changed files with 23 additions and 31 deletions
10
src/components/user/UserPicture.tsx
Normal file
10
src/components/user/UserPicture.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import * as React from 'react';
|
||||
|
||||
export const UserPicture = ({ photo }) => (
|
||||
<div
|
||||
className="user-button-picture"
|
||||
style={{
|
||||
backgroundImage: `url(${photo})`
|
||||
}}
|
||||
/>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue