UNPKG

@seidhr/sanity-plugin-muna-schemas

Version:

Muna or ᛗᚢᚾᚨ means remember in norse. Muna is a schema for the Sanity Studio that enables detailed descriptions of cultural heritage objects and knowledge about their contexts as well as pages about them (or anything else really.)

42 lines (39 loc) 967 B
import React from 'react'; import { BsFillQuestionCircleFill } from 'react-icons/bs'; import { Link } from 'part:@sanity/base/router'; export const composedOf = { name: 'composedOf', title: 'Består av', titleEN: 'Composed of', description: ( <span> Andre identifiserte objekt som er en del av dette objektet.{' '} <Link target="blank" href={'https://muna.xyz/docs/model/properties#composed-of'}> <BsFillQuestionCircleFill /> </Link> </span> ), descriptionEN: ( <span> Other identified madeObjects this object is composed of.{' '} <Link target="blank" href={'https://muna.xyz/docs/model/properties#composed-of'}> <BsFillQuestionCircleFill /> </Link> </span> ), type: 'array', of: [ { type: 'reference', to: [ { type: 'HumanMadeObject' } ] } ], options: { semanticSanity: { '@container': '@list', '@type': '@id' } }, };