TestGatsbySanity/web/src/components/block-text.js
2019-05-09 10:15:41 -05:00

7 lines
250 B
JavaScript

import BaseBlockContent from '@sanity/block-content-to-react'
import React from 'react'
import serializers from './serializers'
const BlockText = ({blocks}) => <BaseBlockContent blocks={blocks} serializers={serializers} />
export default BlockText