How to add the customized primitive label renderer in virtualized property grid provider #1272
Closed
kaushandutta
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
export class CustomPrimitivePropertyLabelRenderer extends PrimitivePropertyLabelRenderer {
public override render() {
const { className, offset, children, tooltip,...rest } = this.props;
const _tooltip ={tooltip:" This the tooltip of kausha dutta"}
return (
<span
className={
components-primitive-property-label-renderer ${ className ? className : "" }}style={PropertyLabelRenderer.getStyle(offset)}
>
<PropertyLabelRenderer {..._tooltip}{...rest}>{children}
);
}
}
Above is my custom primitive label renderer how would I add it to my virtualized property grid provider to make changes in my label
All reactions