import React from "react"; import classNames from "classnames"; import { Box, BoxProps } from "../Box"; import { Heading } from "../Heading"; import { SmallCaps } from "../SmallCaps"; import { bem } from "../../utilities/bem"; const cn = "Meta"; export interface MetaProps extends BoxProps { heading: string; headingAs?: string; } export const Meta = (props: MetaProps) => { const { children, heading, headingAs = "h3", className, ...rest } = props; return ( {heading} {children} ); };