import type { FC } from "react";

const AnalyseResult: FC<{ [key: string]: any; children: any; legend?: any }> = ({ children, legend, ...rest }) => (
    <ul className="rtg-analyse-result" {...rest}>
        {!!legend && <li className="rtg-legend">{legend}</li>}
        {children}
    </ul>
);

export { AnalyseResult };
