import React from "react";
import PropTypes from "prop-types";
import { ContinuousLegend } from "@emerson-eps/color-tables";
const ContinuousLegendWrapper = ({ title, min, max, cssLegendStyles, colorName, horizontal, colorTables, }) => {
    return (React.createElement(ContinuousLegend, { min: min, max: max, dataObjectName: title, cssLegendStyles: cssLegendStyles, colorName: colorName, horizontal: horizontal, colorTables: colorTables }));
};
ContinuousLegendWrapper.propTypes = {
    title: PropTypes.string,
    min: PropTypes.number.isRequired,
    max: PropTypes.number.isRequired,
    cssLegendStyles: PropTypes.objectOf(PropTypes.string),
    colorName: PropTypes.string.isRequired,
    horizontal: PropTypes.bool,
    colorTables: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
};
export default ContinuousLegendWrapper;
//# sourceMappingURL=WebVizContinuousLegend.js.map