function compInst (component) {
  return {
    global: true,
    name: component.name,
    top: component.top,
    left: component.left,
    bottom: component.bottom,
    right: component.right,
    componegg: component.componegg,
    egglement: component.egglement,
    containegg: component.containegg
  }
}
Returns the component instance from the base component provided

@param {object} component : base component to generate the instance
@return {object} : Component instance

@see {@link [types.registerElement]}
@see {@link [types.duplicatePage]}