Heydays utility components
A component library for Heydays
Install
yarn add @heydays/utility-components
Usage
import React from 'react'
import { Image } from '@heydays/utility-components'
const Person = props => {
return (
<div>
<h3>{person.name</h3>
<Image data={person.image} />
</div>
)
}
export default Person
Components
Image
For rendering Sanity images in Gatsby
Disclaimer
Have a look if you want, but this is meant for internal use only.