Don't worry about this.
- In your
ComponentDescriptor, set the events that you would like to trigger. This is also what makes the events appear in the designer.
There are some other threads on the forum about what should be in the event's*.props.jsonfile. - In your client component, fire the events using
props.componentEvents.fireComponentEvent(eventName, eventObject). The corresponding event will be triggered on the gateway when it's received.