// Old <VeltNotificationsPanelWireframe.AllReadContainer /> // New <VeltNotificationsPanelWireframe.Content.AllReadContainer />
let customList = [ { id: 'violent', label: 'Violent' }, { id: 'inappropriate', label: 'Inappropriate' }, { id: 'robbery', label: 'Robbery' }, { id: 'nsfw', label: 'NSFW' }, ]; const customListDataOnCommentAnnotation = { type: 'multi', // choose from 'multi' or 'single' placeholder: 'Custom Placeholder', data: customList, // your customList data here };
<VeltComments customListDataOnAnnotation={customListDataOnCommentAnnotation} />
const commentElement = useCommentUtils(); commentElement.createCustomListDataOnAnnotation(customListDataOnCommentAnnotation);
<VeltCommentDialogWireframe.CustomAnnotationDropdown.Trigger.Placeholder> Custom Placeholder </VeltCommentDialogWireframe.CustomAnnotationDropdown.Trigger.Placeholder>
disableReactions
Was this page helpful?