From 4e29e2af7f168abb0c8b380c702d6d8f4d605a41 Mon Sep 17 00:00:00 2001 From: leaannbradford Date: Fri, 10 May 2024 11:35:30 -0700 Subject: [PATCH] add props --- src/compounds/Item/Item.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compounds/Item/Item.jsx b/src/compounds/Item/Item.jsx index 65ee165..e37d267 100644 --- a/src/compounds/Item/Item.jsx +++ b/src/compounds/Item/Item.jsx @@ -8,8 +8,8 @@ import ItemLoading from './ItemLoading' import NextLink from '../../components/NextLink/NextLink' import './item.scss' -const Item = ({ buttonLink, buttonProps, markdownDescriptionTruncated, markdownDescriptionExtended, href, isLoading, item, orientation, titleLink, withButtonLink, - withTitleLink, width }) => { +const Item = ({ buttonLink, buttonProps, markdownDescriptionTruncated, markdownDescriptionExtended, truncatedLength, href, isLoading, item, orientation, titleLink, + withButtonLink, withTitleLink, width }) => { if (isLoading) { return ( <> @@ -69,6 +69,7 @@ const Item = ({ buttonLink, buttonProps, markdownDescriptionTruncated, markdownD item={item} markdownDescriptionTruncated={markdownDescriptionTruncated} markdownDescriptionExtended={markdownDescriptionExtended} + truncatedLength={truncatedLength} orientation={orientation} titleLink={link} withButtonLink={withButtonLink}