From 1bd0b4f7ec81e89c342087c814bf889c672f86c2 Mon Sep 17 00:00:00 2001 From: melloware Date: Thu, 14 Mar 2024 14:24:25 -0400 Subject: [PATCH] Fix #6156: Speeddial Tailwind use correct parent prop --- components/lib/passthrough/tailwind/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index f52cd4bb09..c6f1262b3a 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -729,9 +729,9 @@ const Tailwind = { speeddial: { root: 'absolute flex', button: { - root: ({ state }) => ({ + root: ({ parent }) => ({ className: classNames('w-16 !h-16 !rounded-full justify-center z-10', { - 'rotate-45': state.visible + 'rotate-45': parent.state.visible }) }), label: {