2021-05-14 08:15:15 +00:00
|
|
|
import { Card, CardContent } from "@material-ui/core";
|
2019-08-09 10:26:22 +00:00
|
|
|
import React from "react";
|
2019-06-19 14:40:52 +00:00
|
|
|
|
|
|
|
const CardDecorator = storyFn => (
|
|
|
|
<Card
|
|
|
|
style={{
|
|
|
|
margin: "auto",
|
|
|
|
overflow: "visible",
|
2019-10-14 14:17:03 +00:00
|
|
|
position: "relative",
|
2019-06-19 14:40:52 +00:00
|
|
|
width: 400
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<CardContent>{storyFn()}</CardContent>
|
|
|
|
</Card>
|
|
|
|
);
|
|
|
|
export default CardDecorator;
|