"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
require("./PageNavigation.css");
var _jsxRuntime = require("react/jsx-runtime");
const VARIANT_CLASSES = {
  card: 'page-navigation--card',
  'below-form': 'page-navigation--below-form',
  'on-dark': 'page-navigation--on-dark',
  inline: ''
};
function PageNavigation(_ref) {
  var _VARIANT_CLASSES$vari;
  let children = _ref.children,
    _ref$variant = _ref.variant,
    variant = _ref$variant === void 0 ? 'card' : _ref$variant,
    _ref$ariaLabel = _ref.ariaLabel,
    ariaLabel = _ref$ariaLabel === void 0 ? 'Navigation principale' : _ref$ariaLabel,
    _ref$className = _ref.className,
    className = _ref$className === void 0 ? '' : _ref$className;
  const variantClass = (_VARIANT_CLASSES$vari = VARIANT_CLASSES[variant]) !== null && _VARIANT_CLASSES$vari !== void 0 ? _VARIANT_CLASSES$vari : '';
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("nav", {
    className: "page-navigation ".concat(variantClass, " ").concat(className).trim(),
    "aria-label": ariaLabel,
    "data-testid": "page-navigation",
    children: children
  });
}
var _default = exports.default = PageNavigation;