cal.pub0.org/apps/web/components/ui/Text/Largetitle/Largetitle.tsx

13 lines
372 B
TypeScript

import classnames from "classnames";
import React from "react";
import { TextProps } from "../Text";
const Largetitle: React.FunctionComponent<TextProps> = (props: TextProps) => {
const classes = classnames("font-cal tracking-wider text-3xl mb-2", props?.className);
return <p className={classes}>{props?.text || props.children}</p>;
};
export default Largetitle;