
* Require trailing commas * Add trailing commas * Add trailing commas in testUtils dir * Add trailing commas
18 lines
348 B
TypeScript
18 lines
348 B
TypeScript
import React from "react";
|
|
|
|
const CentralPlacementDecorator = storyFn => (
|
|
<div
|
|
style={{
|
|
margin: "auto",
|
|
overflow: "visible",
|
|
minHeight: 800,
|
|
width: 400,
|
|
display: "flex",
|
|
justifyContent: "center",
|
|
alignItems: "center",
|
|
}}
|
|
>
|
|
{storyFn()}
|
|
</div>
|
|
);
|
|
export default CentralPlacementDecorator;
|