import { Glossary } from '../molecules/glossary.js'
import h from '../shared/h.js'
import { isPublish } from '../shared/wcm-mode.js'

export function Metadata (props) {
  if (isPublish) {
    return null
  }

  return h(Glossary, { ...props, _color: 'system-solid' })
}
