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:
@@ -0,0 +1,6 @@
|
||||
.blockquote {
|
||||
margin-left: 0;
|
||||
padding-left: 1.5em;
|
||||
border-left: 3px solid var(--link);
|
||||
color: var(--medium-dark);
|
||||
}
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user