support icon indicating copy to clipboard operation
support copied to clipboard

Add JSX support for labels renderer

Open taauntik opened this issue 3 months ago • 2 comments

Forum post

Hello,

I’m reaching out because I would like to use the label feature to display information next to my events. While going through the documentation: Scheduler.feature.Labels#config-after Scheduler.feature.Labels#typedef-SchedulerLabelConfig

I noticed that the renderer functions only accept HTML as a string.

Is there a way to pass a component instead? Because I would like to be able to do something like this:

labelsFeature: {
            labelLayoutMode: 'measure',
            after: {
                renderer: ({eventRecord}) => <SomeComponentUsingReactStateOrReactContexte eventRecord={eventRecord} />
            }
}

Thank you for your response.

taauntik avatar Sep 18 '25 12:09 taauntik

Hello @taauntik , any news on this ?

philippechevieux avatar Nov 03 '25 08:11 philippechevieux

@philippechevieux Unfortunately, no news for now! You can subscribe to the ticket so you'll be notified when there is any updates!

taauntik avatar Nov 03 '25 14:11 taauntik