Skip to main content
Version: 1.x.x

CommentsTrigger

Properties

record

required

quip.apps.Record

A record instance that returns true for supportsComments

color

optional

keyof typeof ColorMap

A color for this control. Must be a string representation of a key from quip.apps.ui.ColorMap

invertColor

optional

boolean = false

If true, will invert the color scheme of the comments trigger. Can be useful when rendering the trigger on top of a non-contrasting background.

showEmpty

optional

boolean = false

Whether or not the CommentsTrigger should be rendered if there are no comments on the Record

className

optional

string

A CSS class to pass to the backing React component.