The state working not perfectly. I made two states of the component, clone the component, and change the new one. So when I change the state the component looks like the main component, not like the old one. And it no helping much actually. Do I something wrong or it is works now so. If yes, better to improve this moment
Thank you for reporting.
When you clone the component it becomes instance and when you made changes on instance state (eg. new fill color) ,it is overridden state.
Which means if you add new fill color in main component state, it won't gonna reflect in overridden state. But if you change the border width of main component ,it will surely reflect to overridden state.
I hope it would be helpful. Please revert back if it is not clear.
thank you for the answer.
I understand the logic of why it happened so, it was more like a proposal to improve the functionality. Because it is a quite common situation when the components are the same but the text or icons inside should be different and especially when I change the state of the cloned component.
thanks a lot!