1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-30 06:56:23 +07:00
verdaccio-ui/src/muiComponents/CardContent/CardContent.tsx

11 lines
414 B
TypeScript
Raw Normal View History

import React, { forwardRef } from 'react';
import { default as MaterialUICardContent, CardContentProps } from '@material-ui/core/CardContent';
type CardContentRef = HTMLElementTagNameMap[keyof HTMLElementTagNameMap];
const CardContent = forwardRef<CardContentRef, CardContentProps>(function CardContent(props, ref) {
return <MaterialUICardContent {...props} innerRef={ref} />;
});
export default CardContent;