Skip to content

Commit 62df9c5

Browse files
committed
fix: support type for passing jsx element to the name prop of form label
1 parent 569e9fc commit 62df9c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@holaplexui-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@holaplex/ui-library-react",
33
"author": "Holaplex Inc.",
4-
"version": "0.23.0",
4+
"version": "0.24.0",
55
"description": "Holaplex react ui library components",
66
"private": false,
77
"files": [

packages/@holaplexui-react/src/components/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export enum Placement {
3131

3232
interface FormLabelProps
3333
extends DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement> {
34-
name: string;
34+
name: string | JSX.Element;
3535
placement?: Placement;
3636
peerClassName?: string;
3737
asideComponent?: JSX.Element;

0 commit comments

Comments
 (0)