Repository URL to install this package:
|
Version:
0.0.0 ▾
|
import classNames from 'classnames'
import React, { FC, forwardRef } from 'react'
export interface DialogContentProps {
className?: string
children?: React.ReactNode
}
const DialogContent: FC<DialogContentProps> = forwardRef<HTMLDivElement, DialogContentProps>(
({ className, children }, ref) => {
return (
<div
ref={ref}
className={classNames(
className,
'text-left max-w-md inline-block w-full pt-12 pb-[68px] !my-0 h-full px-3 bg-slate-800 shadow-xl align-middle transition-all transform rounded-t-2xl rounded-b-none sm:rounded-2xl relative'
)}
>
{children}
</div>
)
}
)
export default DialogContent