import config from '#config'; export default function MetaInfo({data}: {data: {[_: string]: any}}) { const {metaFields: fields = []} = config; return
{fields.map(({label, prop}) => { const val = data[prop]; return val == null ? null :
{label} {val}
; })}
; }