From 024d34df80434e0f957412f973382fea19087208 Mon Sep 17 00:00:00 2001 From: Claas Date: Sat, 4 May 2024 12:47:57 +0200 Subject: [PATCH] Fix properties not marked as optional causing type error --- src/components/IconButton.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/IconButton.jsx b/src/components/IconButton.jsx index 811927b..8aa4425 100644 --- a/src/components/IconButton.jsx +++ b/src/components/IconButton.jsx @@ -1,7 +1,7 @@ /** * @typedef {Object} IconButtonProperties - * @property {string} color - * @property {import("solid-js").JSX.EventHandlerUnion} onClick + * @property {string} [color] + * @property {import("solid-js").JSX.EventHandlerUnion } [onClick] */ /** * @param {import("solid-js").ParentProps} properties -- 2.51.2