From 05040f21a224f017b8bd5c235177a78265597423 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Thu, 20 Feb 2025 11:47:30 -0800 Subject: [PATCH] add style prop to Dot --- src/Components/Dot/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Dot/index.jsx b/src/Components/Dot/index.jsx index 0fd51730f..0676d0a6f 100644 --- a/src/Components/Dot/index.jsx +++ b/src/Components/Dot/index.jsx @@ -1,6 +1,6 @@ import PropTypes from "prop-types"; -const Dot = ({ color = "gray", size = "4px" }) => { +const Dot = ({ color = "gray", size = "4px", style }) => { return ( { borderRadius: "50%", backgroundColor: color, opacity: 0.8, + ...style, }} /> );