How to add custom components to the toolbar

Can you tell me what content should be written in this class?

And I don’t know how ToolbarDefaults should be overwritten.

@xiaofan you can follow the sample we have, and how it is binded:

The interfaces define what is expected:

Thank you for your reply.