From 3e60c2046350517c873f87e7951674d2cb24e3e1 Mon Sep 17 00:00:00 2001 From: Carlo Barone Date: Fri, 9 Feb 2024 15:37:39 +0100 Subject: [PATCH] feat(icon): rotating arrow for the dropdown --- src/cosmoz-tab-card.js | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/cosmoz-tab-card.js b/src/cosmoz-tab-card.js index bfe1513..f40ad56 100644 --- a/src/cosmoz-tab-card.js +++ b/src/cosmoz-tab-card.js @@ -22,7 +22,7 @@ Custom property | Description | Default `--cosmoz-tab-card-content-padding` | Card content padding | `initial` */ -const CosmozTabCard = ({ heading, collapsable, isCollapsed }) => { +const CosmozTabCard = ({ heading, collapsable, isCollapsed, iconPath }) => { const [collapsed, setCollapsed] = useState(isCollapsed); return html`