add style prop to Dot

This commit is contained in:
Alex Holliday committed 2025-02-20 11:47:30 -08:00
1 parent ab49db3a01
commit 05040f21a2
1 file changed
+2 -1
+2 -1
View File
@@ -1,6 +1,6 @@
import PropTypes from "prop-types";
const Dot = ({ color = "gray", size = "4px" }) => {
const Dot = ({ color = "gray", size = "4px", style }) => {
return (
<span
style={{
@@ -10,6 +10,7 @@ const Dot = ({ color = "gray", size = "4px" }) => {
borderRadius: "50%",
backgroundColor: color,
opacity: 0.8,
...style,
}}
/>
);