pass position option to component