UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 456 B
import{__rest as t}from"tslib";import{jsx as r}from"react/jsx-runtime";import{forwardRef as o}from"react";import{TypographyStyled as i}from"./styled.js";export{getTypographyStyles}from"./styled.js";const a=o(((o,a)=>{var{variant:e="body-m-medium",component:m="span",align:n="left",fullWidth:l=!1}=o,s=t(o,["variant","component","align","fullWidth"]);return r(i,Object.assign({},s,{ref:a,as:m,$variant:e,$align:n,$fullWidth:l}))}));export{a as Typography};