From 66bbe9f96355ab1c98c6d48fd60cab7b32b29e24 Mon Sep 17 00:00:00 2001 From: Emil Gulamov <125820963+mearashadowfax@users.noreply.github.com> Date: Mon, 12 Feb 2024 05:46:27 +0400 Subject: [PATCH] Rename 'paragraph' prop to 'content' across components The 'paragraph' prop has been updated to 'content' in Astro components to provide more flexibility in what content it can include. This change affects IconBlock, TabNav, FeaturesNavs, and FeaturesGeneral components, ensuring the prop name is consistently used throughout and reflects its function more accurately. --- src/components/FeaturesGeneral.astro | 8 ++++---- src/components/FeaturesNavs.astro | 6 +++--- src/components/ui/blocks/IconBlock.astro | 6 +++--- src/components/ui/blocks/TabNav.astro | 8 ++++---- src/components/ui/buttons/SecondaryCTA.astro | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/FeaturesGeneral.astro b/src/components/FeaturesGeneral.astro index 05e2cf3..02dd9c1 100644 --- a/src/components/FeaturesGeneral.astro +++ b/src/components/FeaturesGeneral.astro @@ -52,7 +52,7 @@ const subTitle: string =

- {paragraph} + {content}

diff --git a/src/components/ui/blocks/TabNav.astro b/src/components/ui/blocks/TabNav.astro index 0469076..8f8cfa4 100644 --- a/src/components/ui/blocks/TabNav.astro +++ b/src/components/ui/blocks/TabNav.astro @@ -1,12 +1,12 @@ --- -const { aria, dataTab, id, heading, paragraph, first } = Astro.props; +const { aria, dataTab, id, heading, content, first } = Astro.props; interface Props { dataTab: string; id: string; aria: string; heading?: string; - paragraph?: string; + content?: string; first?: boolean; } @@ -22,7 +22,7 @@ Example: