From 815c0f907c1261c242e4876cc56df9cf65a43903 Mon Sep 17 00:00:00 2001 From: caroluchoa <43659990+caroluchoa@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:39:02 -0300 Subject: [PATCH] add types --- sections/Theme/Theme.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sections/Theme/Theme.tsx b/sections/Theme/Theme.tsx index 4a804592..bc04a589 100644 --- a/sections/Theme/Theme.tsx +++ b/sections/Theme/Theme.tsx @@ -397,7 +397,7 @@ const ButtonSizesPreview = () => { const buttonStyles = ['', 'primary', 'secondary', 'tertiary', 'accent']; - const renderButtonRow = (style) => ( + const renderButtonRow = (style: string) => (
{Object.entries(buttonSizes).map(([sizeCode, sizeText]) => (