fi.evolver.ai.vaadin.component.FileChatMessageContainer Maven / Gradle / Ivy
package fi.evolver.ai.vaadin.component;
import java.io.Serial;
import com.vaadin.flow.component.Component;
public class FileChatMessageContainer extends ChatMessageContainer {
@Serial
private static final long serialVersionUID = 1L;
private final Component fileUploadComponent;
public FileChatMessageContainer(final Component fileUploadComponent) {
super(false);
this.fileUploadComponent = fileUploadComponent;
addComponents();
}
@Override
protected void addInputs() {
add(fileUploadComponent);
super.addInputs();
}
}