blob: c2444b0eaa0eb972d5e9558cc6785e938efbbe47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import React, { Component } from 'react';
import injectStyle from 'react-jss';
import { IWithStyle } from '../typings/generic';
import styles from './styles';
interface IProps extends IWithStyle {
children: React.ReactNode;
}
class Wrapper extends Component<IProps> {
render() {
const {
children,
classes,
} = this.props;
return (
<div className={classes.container}>
{children}
</div>
);
}
}
export default injectStyle(styles)(Wrapper);
|