lotus/lotuspond/front/src/Window.js

16 lines
320 B
JavaScript
Raw Normal View History

2019-09-19 00:50:23 +00:00
import React from 'react'
import {Cristal} from "react-cristal";
class Window extends React.Component {
render() {
let props = {className: '', ...this.props}
props.className = `${props.className} Window`
return <Cristal {...props}>
{this.props.children}
</Cristal>
}
}
export default Window