import { Element_ } from '../../../../Class/Element'
import { System } from '../../../../system'
import { UnitBundle } from '../../../../types/UnitBundle'
import { ID_WRAP } from '../../../_ids'

export type I = {
  component: UnitBundle
}

export type O = {}

export default class Follow extends Element_<I, O> {
  constructor(system: System) {
    super(
      { i: ['component'], o: ['parent'] },
      { output: { parent: { ref: true } } },
      system,
      ID_WRAP
    )
  }
}
