Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
chore: added prop for bottom content
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Fasih Ali Naqvi authored and Muhammad Fasih Ali Naqvi committed Mar 15, 2024
1 parent a4fee56 commit 1cd39c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/blocks/src/lib/features/content-slider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const ContentSlider = <T extends CardVariantType>({
description,
cta: CTA,
className,
bottomContent,
cardSliderProps,
}: ContentSliderProps<T>) => {
return (
Expand All @@ -33,6 +34,7 @@ const ContentSlider = <T extends CardVariantType>({
<CardSlider {...cardSliderProps} />
}
{CTA && <CTA />}
{bottomContent}
</FluidContainer>
</Section>
);
Expand Down
1 change: 1 addition & 0 deletions libs/blocks/src/lib/features/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export interface FeaturesV4Props extends BlockWrapperProps {
export interface ContentSliderProps<T extends CardVariantType> {
title?: ReactNode;
description?: ReactNode;
bottomContent?: ReactNode;
cta?: () => ReactNode;
className?: string;
cardSliderProps?: CardSliderProps<T>;
Expand Down

0 comments on commit 1cd39c1

Please sign in to comment.