import payloadHeader from "./payloadHeader"

export default (props = {}) => {
  const header = payloadHeader({
    ...props,
    ...{ _type: "interactionLink" },
  })
  return {
    ...header,
    _source: props,
  }
}
