From 0ed054fae972ffd36299b142bd693f80388480a6 Mon Sep 17 00:00:00 2001 From: Lukas Senionis Date: Sat, 29 Oct 2022 13:25:30 +0300 Subject: [PATCH] fix(Item): change title and description types to ReactNode --- src/deck-components/Item.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deck-components/Item.tsx b/src/deck-components/Item.tsx index d2ea67a..a101d80 100644 --- a/src/deck-components/Item.tsx +++ b/src/deck-components/Item.tsx @@ -1,8 +1,8 @@ import { ReactNode } from 'react'; export interface ItemProps { - label?: string; - description?: string; + label?: ReactNode; + description?: ReactNode; layout?: 'below' | 'inline'; icon?: ReactNode; bottomSeparator?: 'standard' | 'thick' | 'none';