mirror of
https://github.com/SomboChea/ui
synced 2024-09-30 05:17:47 +07:00
11 lines
414 B
TypeScript
11 lines
414 B
TypeScript
|
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;
|