favycon/components/sticky/index.tsx
renovate[bot] 76d010fafa
fix(deps): update react monorepo to v16.14.0 (#309)
* fix(deps): update react monorepo to v16.14.0

* refactor: use the new JSX transform

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rui Saraiva <ruisaraiva19@gmail.com>
2020-10-18 09:23:20 +01:00

18 lines
311 B
TypeScript

import PropTypes from 'prop-types'
import styles from './index.module.scss'
type StickyProps = {
children: PropTypes.ReactNodeLike
}
const Sticky = ({ children }: StickyProps) => {
return (
<div className={styles.root}>
<div className={styles.sticky}>{children}</div>
</div>
)
}
export { Sticky }