2020-05-22 14:38:19 +02:00
|
|
|
import React, { ReactElement } from 'react'
|
2018-08-08 22:26:42 +02:00
|
|
|
import { Link } from 'gatsby'
|
2019-12-14 15:46:43 +01:00
|
|
|
import Icon from '../../atoms/Icon'
|
2022-11-11 03:31:54 +01:00
|
|
|
import * as styles from './More.module.css'
|
2018-08-08 22:26:42 +02:00
|
|
|
|
2020-05-22 14:38:19 +02:00
|
|
|
const PostMore = ({
|
|
|
|
to,
|
|
|
|
children
|
|
|
|
}: {
|
|
|
|
to: string
|
|
|
|
children: string
|
|
|
|
}): ReactElement => (
|
2022-11-11 03:31:54 +01:00
|
|
|
<Link className={styles.postMore} to={to}>
|
2018-08-08 22:26:42 +02:00
|
|
|
{children}
|
2019-11-15 22:10:53 +01:00
|
|
|
<Icon name="ChevronRight" />
|
2018-08-08 22:26:42 +02:00
|
|
|
</Link>
|
|
|
|
)
|
|
|
|
|
|
|
|
export default PostMore
|