UNPKG

avent-ui

Version:

The best UI library for Typescript and React

13 lines (10 loc) 553 B
import { jsx } from 'react/jsx-runtime'; import { forwardRef } from 'react'; const HamMenuTitle = forwardRef((props, ref) => { const { children, style, as, className, ...otherProps } = props; const Component = as || 'p'; return (jsx(Component, { ref: ref, style: style, className: `2xl:text-[1.5dvw] text-[gray] border-b border-[gray] border-solid pb-2 w-full ${className}`, ...otherProps, children: children })); }); HamMenuTitle.displayName = 'HamMenuTitle'; export { HamMenuTitle as default }; //# sourceMappingURL=hammenu-title.js.map