com.vaadin.flow.component.map.MapVariant Maven / Gradle / Ivy
/**
* Copyright 2000-2023 Vaadin Ltd.
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.flow.component.map;
import com.vaadin.flow.component.shared.ThemeVariant;
/**
* Set of theme variants applicable for the {@code vaadin-map} component.
*/
public enum MapVariant implements ThemeVariant {
BORDERLESS("borderless");
private final String variant;
MapVariant(String variant) {
this.variant = variant;
}
/**
* Gets the variant name.
*
* @return variant name
*/
public String getVariantName() {
return variant;
}
}