An electronic device comprising at least one optoelectronic component comprising a first active layer, a first electrode, and a second interface layer between the first layer and the first electrode and at least one first field-effect transistor comprising a first semiconductor portion and a first gate and at least one third layer between the first gate and the first semiconductor portion, the third layer being made of the same material as the second layer, the electronic device comprising a second electrode and a fourth interface layer between the first layer and the second electrode and comprising a second field-effect transistor comprising a second semiconductor portion, a second gate, and at least one fifth layer between the second gate and the second semiconductor portion, the fifth layer being made of the same material as the fourth layer.