Files
web2.0-frontend/src/components/InfoBox/InfoBox.tsx
T
2020-07-03 15:15:56 +03:00

23 lines
414 B
TypeScript

import React from "react";
import "./InfoBox.scss";
export interface InfoBoxProps {}
export interface InfoBoxState {}
class InfoBox extends React.Component<InfoBoxProps, InfoBoxState> {
constructor(props: InfoBoxProps) {
super(props);
}
render() {
const { children } = this.props;
return (
<div className="info-box">
{children}
</div>
);
}
}
export default InfoBox;