From a40477bb23277482cee74e0c3780aa4fb86cdc85 Mon Sep 17 00:00:00 2001 From: Kevin Szuchet Date: Fri, 28 Jul 2023 13:36:33 +0200 Subject: [PATCH] feat: Extend select field accepting elements as labels --- src/components/SelectField/SelectField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SelectField/SelectField.tsx b/src/components/SelectField/SelectField.tsx index e87da2d8..c69aaea9 100644 --- a/src/components/SelectField/SelectField.tsx +++ b/src/components/SelectField/SelectField.tsx @@ -4,7 +4,7 @@ import { Header } from '../Header/Header' import './SelectField.css' export type SelectFieldProps = DropdownProps & { - label?: string + label?: string | JSX.Element error?: boolean message?: string header?: JSX.Element