import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Button } from '../../../Button';
import { Typography } from '../../../Typography';
import { Wrapper } from './styles';
export const ErrorState = (props) => {
    const { errorMsg = 'Не удалось загрузить данные', onRetry } = props;
    return (_jsxs(Wrapper, { children: [_jsx(Typography, { color: "textSecondary", children: errorMsg }), _jsx(Button, { variant: "light", onClick: onRetry, children: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443" })] }));
};
