1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-13 19:55:26 -04:00

even more styled components

This commit is contained in:
2022-01-20 08:26:30 -05:00
parent 171bdd65b6
commit 0462428a54
20 changed files with 332 additions and 221 deletions
@@ -0,0 +1,6 @@
.blockquote {
margin-left: 0;
padding-left: 1.5em;
border-left: 3px solid var(--link);
color: var(--medium-dark);
}
+13
View File
@@ -0,0 +1,13 @@
import type { BlockquoteHTMLAttributes } from "react";
import styles from "./Blockquote.module.css";
type Props = BlockquoteHTMLAttributes<HTMLElement>;
const Blockquote = ({ children, ...rest }: Props) => (
<blockquote className={styles.blockquote} {...rest}>
{children}
</blockquote>
);
export default Blockquote;