diff --git a/__snapshots__/quote--quote-sample-chromium.png b/__snapshots__/quote--quote-sample-chromium.png index 090e454a..8754b6e0 100644 Binary files a/__snapshots__/quote--quote-sample-chromium.png and b/__snapshots__/quote--quote-sample-chromium.png differ diff --git a/__snapshots__/quote--quote-sample-firefox.png b/__snapshots__/quote--quote-sample-firefox.png index 435d070d..b6e32ac0 100644 Binary files a/__snapshots__/quote--quote-sample-firefox.png and b/__snapshots__/quote--quote-sample-firefox.png differ diff --git a/__snapshots__/quote--quote-sample-webkit.png b/__snapshots__/quote--quote-sample-webkit.png index 53f6115b..00d67634 100644 Binary files a/__snapshots__/quote--quote-sample-webkit.png and b/__snapshots__/quote--quote-sample-webkit.png differ diff --git a/src/components/quote/Quote.stories.tsx b/src/components/quote/Quote.stories.tsx index 3ec42864..034b97b1 100644 --- a/src/components/quote/Quote.stories.tsx +++ b/src/components/quote/Quote.stories.tsx @@ -39,10 +39,7 @@ type QuoteStory = StoryObj; export const QuoteSample: QuoteStory = { render: (args) => { return My favorite UX feedback from customers is: "How is the app so fast?" diff --git a/src/components/quote/Quote.tsx b/src/components/quote/Quote.tsx index 9af08dd4..f6b0007a 100644 --- a/src/components/quote/Quote.tsx +++ b/src/components/quote/Quote.tsx @@ -5,7 +5,7 @@ import Text from "../Text/Text"; export interface QuoteType extends Omit { children: string - logo: string + logo?: string name: string position: string // defaults to true @@ -21,9 +21,11 @@ const Quote: React.FC = (props) => { {children} - - {"logo - + { + !!logo ? + {"logo + : null + } {name}
{position}