Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
import {Box, Pagination as MantinePagination, PaginationProps as MantinePaginationProps} from "@mantine/core";
interface PaginationProps extends Omit<MantinePaginationProps, 'hideWithOnePage'> {
marginTop?: number;
}
export const Pagination = (props: PaginationProps) => {
const {marginTop, ...rest} = props;
return (
<Box mt={props.marginTop === undefined ? 20 : props.marginTop}>
<MantinePagination hideWithOnePage {...rest} />
</Box>
);
};