Files
standardnotes-app-web/app/assets/javascripts/Components/Shared/ModalDialogDescription.tsx
2022-05-30 12:42:52 +05:30

15 lines
411 B
TypeScript

import { FunctionComponent } from 'react'
import { AlertDialogDescription } from '@reach/alert-dialog'
type Props = {
className?: string
}
const ModalDialogDescription: FunctionComponent<Props> = ({ children, className = '' }) => (
<AlertDialogDescription className={`px-4 py-4 flex flex-row items-center ${className}`}>
{children}
</AlertDialogDescription>
)
export default ModalDialogDescription