Can't create component

Hello, I can’t figure out why I cant make a component from this search bar. This is a flex layout with a text, the button is a rectangle with text inside.

If I remove the button outside from the search bar the option to create a component shows up
I’m pretty sure I’m missing something…

Hi @MiltonVentura,

Is it possible that the “Buscar” button itself is a main component?

Yes it is, I made that button a component too

@MiltonVentura If you drag out an instance of that component on the board from the assets panel, you can then make that instance a component which also inherits from the original main component, but allows you to make changes unique to it.

3 Likes

Ty very much for the quick response. That works and actually makes a lot of sense, this way the button component remais intact.

4 Likes