Xelson does ChatFrame
extends flarum/Component
?
If so, you can add it like most extensions do:
items.add('stuff', YourClass.component({
propName: propValue,
}));
Alternatively this should also work:
items.add('stuff', <YourClass propName={propValue}>);
If the question is about passing data to/from the component, maybe it's not the proper way to approach it. Consider storing the data in another global object, then have multiple components interact with that global object to modify the state of the app. The Flarum Store might be the solution, or your own custom store.
Some Flarum components are instantiated and manipulated from a parent component. I personally don't think it's a pretty way of doing it and it should probably be avoided. I can think of the Search and UserCard components. Not sure if this has anything similar to what you're trying to do.