diff options
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 |