import * as React from "react"; import styled from "styled-components"; import { CrossHeadProps } from "./interface"; import { dim } from "@dim"; import { H3, Body } from "@Typography"; import { mq } from "@tokensDir/media-query"; const CrossHeadWrapper = styled.section` text-align: center; margin: ${dim(8)} auto; ${mq.md` max-width: ${dim(68)}; `} ${mq.lg` max-width: ${dim(82)}; `} `; export const Quote = styled(H3)` margin-top: 0; margin-bottom: ${dim(3)}; `; export const SubHead = styled(Body)``; const StoryCrossHeadline: React.FC = ({ head = "", subhead = "" }) => ( {head} {subhead && {subhead}} ); export default StoryCrossHeadline;