import { Paper , withStyles , WithStyles } from "@material-ui/core" ; import * as React from "react" ; import { compose , pure , setDisplayName } from "recompose" ; import { Styles , styles } from "./Dialog.styles" ; /**
 * Render properties
 */ export type RenderProps = WithStyles < Styles > ; param props return export const Render = ( { classes , children } ) => < Paper elevation = { 1 } className = { classes . root } > { children } < /Paper>; return export function enhance ( ) { return compose < RenderProps , { } > ( withStyles ( styles ) , pure , setDisplayName ( "Dialog" ) ) ; } /**
 * Dialog component
 */ export const Dialog = enhance ( ) ( Render ) ;