mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 09:38:27 -04:00
15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
import classNames from "classnames";
|
|
import type { BlockquoteHTMLAttributes } from "react";
|
|
|
|
import styles from "./Blockquote.module.css";
|
|
|
|
type Props = BlockquoteHTMLAttributes<HTMLElement>;
|
|
|
|
const Blockquote = ({ children, className, ...rest }: Props) => (
|
|
<blockquote className={classNames(styles.blockquote, className)} {...rest}>
|
|
{children}
|
|
</blockquote>
|
|
);
|
|
|
|
export default Blockquote;
|