= React.f
{
- /* singleline expand/collapse button */ !isMultiline && !actionsDiv && truncated && (
+ /* singleline expand/collapse button */ (showExpandButton || (!isMultiline && !actionsDiv && truncated)) && (
, Rea
* @default true
*/
delayedRender?: boolean;
+
+ /**
+ * An optional override to show the expand/collapse icon. It will only be shown by default for
+ * single-line truncated MessageBars that do not have actions.
+ * @defaultvalue false
+ */
+ showExpandButton?: boolean;
}
/**