"use client";
import { applyTypography } from "../../../styles/typography.js";
import { typographyStyles } from "../typographyStyles.js";
import { getPropDefaultsBase } from "./getPropDefaults.js";
import styled from "@emotion/styled";
import { jsx } from "@emotion/react/jsx-runtime";
//#region src/components/typography/base/Overline.tsx
function OverlineString(props) {
	const { children, ...rest } = getPropDefaults(props);
	return /* @__PURE__ */ jsx(StyledOverline, {
		...rest,
		children
	});
}
function getPropDefaults(props) {
	return getPropDefaultsBase(props, { as: props.tag || "span" });
}
const StyledOverline = styled.span`
  ${({ theme, size, colorProp }) => applyTypography(theme, "Overline", size, colorProp)}
  ${typographyStyles}
`;
//#endregion
export { OverlineString, StyledOverline, getPropDefaults };
