è possibile creare un componente che al suo interno abbia dei metodi per modificare un componente esterno ?