From 62df9c528a9ddc96d47966ae951b012e8ad6b035 Mon Sep 17 00:00:00 2001 From: Kyle Espinola Date: Thu, 7 Sep 2023 10:59:21 +0200 Subject: [PATCH] fix: support type for passing jsx element to the name prop of form label --- packages/@holaplexui-react/package.json | 2 +- packages/@holaplexui-react/src/components/Form.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@holaplexui-react/package.json b/packages/@holaplexui-react/package.json index 9bd2e8d..d962b32 100644 --- a/packages/@holaplexui-react/package.json +++ b/packages/@holaplexui-react/package.json @@ -1,7 +1,7 @@ { "name": "@holaplex/ui-library-react", "author": "Holaplex Inc.", - "version": "0.23.0", + "version": "0.24.0", "description": "Holaplex react ui library components", "private": false, "files": [ diff --git a/packages/@holaplexui-react/src/components/Form.tsx b/packages/@holaplexui-react/src/components/Form.tsx index c811ec5..4da4a32 100644 --- a/packages/@holaplexui-react/src/components/Form.tsx +++ b/packages/@holaplexui-react/src/components/Form.tsx @@ -31,7 +31,7 @@ export enum Placement { interface FormLabelProps extends DetailedHTMLProps, HTMLLabelElement> { - name: string; + name: string | JSX.Element; placement?: Placement; peerClassName?: string; asideComponent?: JSX.Element;