verdaccio-ui/src/muiComponents/DialogTitle/DialogTitle.tsx

11 lines
373 B
TypeScript
Raw Normal View History

2019-10-12 14:55:37 +07:00
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;