fui-fancyui
Version:
FancyUI Libary
34 lines (33 loc) • 734 B
JavaScript
import { TypographyList as e } from "../Typography.style.js";
const r = (a, t) => {
if (t) return e[t];
switch (a) {
case "displayHero":
return e.h1;
case "displayHeadline":
return e.h1;
case "displayTitle":
return e.h2;
case "sectionTitle":
return e.h2;
case "sectionSubtitle":
return e.h3;
case "sectionSubsectionTitle":
return e.h4;
case "bodytextLg":
case "bodytextMd":
case "bodytextSm":
return e.p;
case "subTextLegal":
return e.small;
case "subTextCaption":
case "subTextFootnote":
case "interactiveLg":
case "interactiveMd":
case "interactiveSm":
return e.span;
}
};
export {
r as mapVariantToElement
};