From 1af0f871f27a0ca928922ff6af8f5b3697b47a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Fri, 24 May 2024 14:56:17 +0300 Subject: [PATCH] Fixed #15695 | Carousel: use Button for prev, next buttons && add prevButtonProps and nextButtonProps --- src/app/components/carousel/carousel.ts | 34 ++++++++++++++++++------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/src/app/components/carousel/carousel.ts b/src/app/components/carousel/carousel.ts index 1409301165e..a8c1455b23b 100755 --- a/src/app/components/carousel/carousel.ts +++ b/src/app/components/carousel/carousel.ts @@ -33,6 +33,8 @@ import { UniqueComponentId } from 'primeng/utils'; import { CarouselPageEvent, CarouselResponsiveOptions } from './carousel.interface'; import { PrimeNGConfig } from 'primeng/api'; import { DomHandler } from 'primeng/dom'; +import { ButtonModule } from '../button/button'; +import { ButtonProps } from 'primeng/button'; /** * Carousel is a content slider featuring various customization options. * @group Components @@ -47,23 +49,25 @@ import { DomHandler } from 'primeng/dom';