1
0
Fork 0
blog/src/components/templates/Post/More.tsx

20 lines
381 B
TypeScript

import React, { ReactElement } from 'react'
import { Link } from 'gatsby'
import Icon from '../../atoms/Icon'
import * as styles from './More.module.css'
const PostMore = ({
to,
children
}: {
to: string
children: string
}): ReactElement => (
<Link className={styles.postMore} to={to}>
{children}
<Icon name="ChevronRight" />
</Link>
)
export default PostMore