mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 21:03:10 +03:00
37 lines
653 B
JavaScript
37 lines
653 B
JavaScript
import React, { Component } from 'react';
|
|
import classnames from 'classnames';
|
|
|
|
|
|
export default class ChatTile extends Component {
|
|
|
|
constructor(props) {
|
|
super(props);
|
|
}
|
|
|
|
|
|
renderWrapper(child) {
|
|
return (
|
|
<div className="bg-dark-gray w-100 h-100">
|
|
{child}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
render() {
|
|
return this.renderWrapper((
|
|
<a className="w-100 h-100 db" style={{
|
|
paddingTop: 68,
|
|
paddingBottom: 68,
|
|
paddingLeft: 64,
|
|
paddingRight: 64
|
|
}}
|
|
href="/~chat">
|
|
<img src="/~chat/img/Tile.png" width={106} height={98} />
|
|
</a>
|
|
));
|
|
}
|
|
|
|
}
|
|
|
|
window.chatTile = ChatTile;
|