Text Comment Tool
Overview
The Comment Tool that appears when you highlight some text.
We recommend that you familiarize yourselves with UI Customization Concepts before attempting to modify any components.
Default Component
Dark Mode
Whether dark mode
is enabled on the Text Comment Tool
.
Default: false
<VeltComments textCommentToolDarkMode={true} />
Disable ShadowDOM
Whether the ShadowDOM is enabled or not on the Text Comment Tool
Default: enabled
By default, a ShadowDOM is used with certain components to ensure that your application’s CSS does not interfere with the styling of the SDK components.
If you want your application’s CSS to affect the styling of certain SDK components, you can disable the ShadowDOM.
<VeltComments shadowDom={false} textCommentToolShadowDom={false} />