1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 09:25:22 -04:00
jarv.is/components/Blockquote/Blockquote.tsx

11 lines
379 B
TypeScript

import cn from "../../lib/helpers/classnames";
import type { ComponentPropsWithoutRef } from "react";
export type BlockquoteProps = ComponentPropsWithoutRef<"blockquote">;
const Blockquote = ({ className, ...rest }: BlockquoteProps) => (
<blockquote className={cn("border-l-link text-medium-dark ml-0 border-l-4 pl-5", className)} {...rest} />
);
export default Blockquote;