7 lines
250 B
JavaScript
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
|