diff options
author | 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> | 2024-01-31 00:36:03 +0900 |
---|---|---|
committer | 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> | 2024-01-31 00:36:03 +0900 |
commit | 361f2b90070d99ce4676f4aed088e83f31eac325 (patch) | |
tree | 212ad97416b3a7fdf921cb487dc0488b78572c69 /src/components/BlockQuote.js | |
parent | f83947b5b9751fd0fa04e5cf0e67e4033ea40772 (diff) |
initial commit
Diffstat (limited to 'src/components/BlockQuote.js')
-rw-r--r-- | src/components/BlockQuote.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/BlockQuote.js b/src/components/BlockQuote.js new file mode 100644 index 00000000..7c8a5f5c --- /dev/null +++ b/src/components/BlockQuote.js @@ -0,0 +1,13 @@ +import React from 'react'; +import ExternalLink from './ExternalLink.js'; +import styles from './BlockQuote.module.css'; +import { Icon } from '@iconify/react'; // Import the entire Iconify library. + +export default function BlockQuote({children, refs, href}) { + return ( + <blockquote class={styles.qt}> + {children} + <footer><cite><ExternalLink href={href}><Icon inline icon="zondicons:book-reference" height="18"/> {refs}</ExternalLink></cite></footer> + </blockquote> + ); +}
\ No newline at end of file |