import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["as","label","active","size","form","className","children"];import"./PaginationItem.css";import React,{forwardRef}from"react";import{cnMixFlex}from"../../../mixs/MixFlex";import{cnMixFocus}from"../../../mixs/MixFocus";import{cn}from"../../../utils/bem";import{paginationPropFormDefault,paginationPropSizeDefault}from"../types";var cnPaginationItem=cn("PaginationItem"),PaginationItemRender=function(a,b){var c=a.as,d=void 0===c?"button":c,e=a.label,f=a.active,g=a.size,h=void 0===g?paginationPropSizeDefault:g,i=a.form,j=void 0===i?paginationPropFormDefault:i,k=a.className,l=a.children,m=_objectWithoutProperties(a,_excluded);return React.createElement(d,Object.assign({},m,{className:cnPaginationItem({size:h,form:j,active:f},[k,cnMixFlex({align:"center",justify:"center",flex:"inline-flex"}),cnMixFocus()]),ref:b}),e)};export var PaginationItem=forwardRef(PaginationItemRender);
//# sourceMappingURL=PaginationItem.js.map