shrub/apps/chat/tile/tile.js
2019-06-04 15:46:36 -07:00

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;