Extend Qml StateMachine from a Base component
I want to write a base Qml Component and reuse that component.
In the base component I define 2 state: Show and Hide.
Is it possible for users reuse that component can extend more states . For example define more 2 states: Expand and collapse. And the reused component will have 4 states: Show, Hide, Expand, Collapse.
Can you help me ?