Creating Parent and Child Blocks: Inheriting Interface and Customizing Functionality

“Hello, good day to everyone. I have a complete gr.Blocks , and I would like to turn this block into a parent block. The goal is to create child blocks that inherit the user interface of this main block, allowing me to change their functionalities individually in each of them. Could someone please explain how to achieve this?”