text: // @flow
  import React from "react";
  import Hr from "elevate-ui/Hr";
  
  import type { $ContentBlock } from "types";
  type $Props = {
    content: $ContentBlock,
  };
  
  const HorizontalRulePreview = ({
    content: {
      attrs: { color, thickness },
    },
  }: $Props) => (
    <Hr
      color={color || "primary"}
      thickness={parseInt(thickness) || 2}
      style={{ margin: "0 auto", minWidth: "25px" }}
    />
  );
  
  export default HorizontalRulePreview;
  