1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-24 20:24:48 +07:00
verdaccio-ui/src/muiComponents/Card/Card.tsx

11 lines
303 B
TypeScript
Raw Permalink Normal View History

2019-10-26 13:44:25 +07:00
import React, { forwardRef } from 'react';
import { default as MaterialUICard, CardProps } from '@material-ui/core/Card';
type CardRef = HTMLDivElement;
const Card = forwardRef<CardRef, CardProps>(function Card(props, ref) {
return <MaterialUICard {...props} ref={ref} />;
});
export default Card;