File size: 412 Bytes
6a30288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { cn } from "@/lib/utils";
import { Heading } from "../ui/heading";
import { Text } from "../ui/text";

export const HeadingAndSubheading = (props: {
  heading: string;
  subheading: string;
  className?: string;
}) => {
  return (
    <div className={cn(props.className)}>
      <Heading size="h3">{props.heading}</Heading>
      <Text appearance="secondary">{props.subheading}</Text>
    </div>
  );
};