import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { ConnectTooltipProvider } from "../../tooltip/tooltip.js";
import { Errors } from "./errors.js";
const meta = {
    title: "Connect/Components/Revision History/Revision/Errors",
    component: Errors,
};
export default meta;
export const NoErrors = {
    args: {
        errors: [],
    },
};
export const WithOneError = {
    args: {
        errors: [
            "Data mismatch detected in this signature which needs to be resolved.",
        ],
    },
    render: (props) => (_jsxs(ConnectTooltipProvider, { children: [_jsx(Errors, { ...props }), ","] })),
};
export const WithMultipleErrors = {
    args: {
        errors: [
            "Data mismatch detected in this signature which needs to be resolved.",
            "Data mismatch detected in this signature which needs to be resolved.",
            "Data mismatch detected in this signature which needs to be resolved.",
        ],
    },
    render: (props) => (_jsxs(ConnectTooltipProvider, { children: [_jsx(Errors, { ...props }), ","] })),
};
//# sourceMappingURL=errors.stories.js.map