1
0
Fork 0
blog/src/components/Post/PostMore.tsx

14 lines
360 B
TypeScript

import React from 'react'
import { Link } from 'gatsby'
import styles from './PostMore.module.scss'
import { ReactComponent as Caret } from '../../images/chevron-right.svg'
const PostMore = ({ to, children }: { to: string; children: string }) => (
<Link className={styles.postMore} to={to}>
{children}
<Caret />
</Link>
)
export default PostMore