verdaccio-ui/src/muiComponents/DialogTitle/DialogTitle.tsx
2019-10-12 09:55:37 +02:00

11 lines
373 B
TypeScript

import React, { forwardRef } from 'react';
import { default as MaterialUIDialogTitle, DialogTitleProps } from '@material-ui/core/DialogTitle';
type DialogTitleRef = HTMLDivElement;
const DialogTitle = forwardRef<DialogTitleRef, DialogTitleProps>(function DialogTitle(props, ref) {
return <MaterialUIDialogTitle {...props} ref={ref} />;
});
export default DialogTitle;