@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.)
41 lines (38 loc) • 982 B
JavaScript
import React from 'react';
import { BsFillQuestionCircleFill } from 'react-icons/bs';
import { Link } from 'part:@sanity/base/router';
export const consistsOf = {
name: 'consistsOf',
title: 'Laget av',
titleEn: 'Consists of',
description: (
<span>
Hvilket material objektet er laget av, for eksempel lær og/eller pergament.
.{' '}
<Link target="blank" href={'https://muna.xyz/docs/model/properties#consists-of'}>
<BsFillQuestionCircleFill />
</Link>
</span>
),
descriptionEN: (
<span>
The material the item is produced with, eg. leather and-or parchment.{' '}
<Link target="blank" href={'https://muna.xyz/docs/model/properties#consists-of'}>
<BsFillQuestionCircleFill />
</Link>
</span>
),
type: 'array',
of: [
{
type: 'reference',
to: [{ type: 'Material' }],
},
],
options: {
semanticSanity: {
'@container': '@list',
'@type': '@id'
}
},
};