// sample legend
import React from 'react';
interface LegendListInfoProps {
legendType: string;
// used for legend info texts, e.g., Collection Date, Collections
dropdownTitle: string;
legendInfoNumberText?: string;
}
export default function LegendListInfo(props: LegendListInfoProps) {
// add tutorial image (for now)
let legendListInfoImage: string = '';
if (props.legendType == 'categorical') {
// for now, use image for categorical one
legendListInfoImage = './img/legend-info-donut-capture.png';
return (
<>