mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
10 lines
414 B
TypeScript
10 lines
414 B
TypeScript
import { default as MaterialUICardContent, CardContentProps } from '@material-ui/core/CardContent';
|
|
import React, { forwardRef } from 'react';
|
|
|
|
type CardContentRef = HTMLElementTagNameMap[keyof HTMLElementTagNameMap];
|
|
|
|
const CardContent = forwardRef<CardContentRef, CardContentProps>(function CardContent(props, ref) {
|
|
return <MaterialUICardContent {...props} innerRef={ref} />;
|
|
});
|
|
|
|
export default CardContent;
|