Skip to content

Commit 30d73bd

Browse files
javier-godoypaodb
authored andcommitted
feat: allow an arbitrary Component in createStackTraceArea
Close #28
1 parent 84fb5ef commit 30d73bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/errorwindow/ErrorWindow.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
package com.flowingcode.vaadin.addons.errorwindow;
2222

23+
import com.vaadin.flow.component.Component;
2324
import com.vaadin.flow.component.Html;
2425
import com.vaadin.flow.component.button.Button;
2526
import com.vaadin.flow.component.dependency.CssImport;
@@ -188,7 +189,7 @@ private VerticalLayout createExceptionTraceLayout() {
188189
return exceptionTraceLayout;
189190
}
190191

191-
protected TextArea createStackTraceArea() {
192+
protected Component createStackTraceArea() {
192193
final TextArea area = new TextArea();
193194
area.setWidthFull();
194195
area.setHeight("15em");

0 commit comments

Comments
 (0)