import React from "react";
import styled from "styled-components";
import { PullQuoteProps } from "./interface";
import * as tokens from "@tokens";
import { dim } from "@dim";
import { Body } from "@Typography";
import { mq } from "@tokensDir/media-query";
const PullQuoteWrapper = styled.section`
text-align: center;
margin: ${dim(8)} ${dim(2)};
${mq.md`
margin: 0 auto;
border-top: 1px solid ${tokens.colorGrey15};
border-bottom: 1px solid ${tokens.colorGrey15};
max-width: ${dim(68)};
padding: ${dim(11)};
`}
${mq.lg`
max-width: ${dim(82)};
`}
`;
export const Quote = styled(Body)`
margin-top: 0;
margin-bottom: ${dim(3)};
${mq.lg`
margin-bottom: ${dim(4)};
`}
`;
const HTML = ({ __html }: { __html: string }) => (
);
const PullQuote: React.FC = ({
quote,
reference
}: PullQuoteProps) => (
{quote}
{reference && (
{reference}
)}
);
export default PullQuote;