From 01dd3df4a1f04e6a4983bd87b95874e349681e70 Mon Sep 17 00:00:00 2001 From: Dhenain Ambroise Date: Sun, 17 Jan 2021 16:00:29 +0100 Subject: [PATCH] Fix regression in Animated3Dots.tsx (fill became required for no reason) + improve SB doc --- src/components/svg/Animated3Dots.tsx | 7 ++++++- src/components/svg/AnimatedTextBubble.tsx | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/svg/Animated3Dots.tsx b/src/components/svg/Animated3Dots.tsx index 09050a368..5367111b0 100644 --- a/src/components/svg/Animated3Dots.tsx +++ b/src/components/svg/Animated3Dots.tsx @@ -1,7 +1,12 @@ import React from 'react'; export type Props = { - fill: string; + /** + * Color of the dots. + * + * @default white + */ + fill?: string; }; /** diff --git a/src/components/svg/AnimatedTextBubble.tsx b/src/components/svg/AnimatedTextBubble.tsx index e05eecb0b..a470b8242 100644 --- a/src/components/svg/AnimatedTextBubble.tsx +++ b/src/components/svg/AnimatedTextBubble.tsx @@ -5,6 +5,11 @@ import { import React from 'react'; export type Props = { + /** + * Color of the dots. + * + * @default + */ fill?: string; };