Skip to content

Commit

Permalink
fix: support type for passing jsx element to the name prop of form label
Browse files Browse the repository at this point in the history
  • Loading branch information
kespinola committed Sep 7, 2023
1 parent 569e9fc commit 62df9c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/src/components/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export enum Placement {

interface FormLabelProps
extends DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement> {
name: string;
name: string | JSX.Element;
placement?: Placement;
peerClassName?: string;
asideComponent?: JSX.Element;
Expand Down

0 comments on commit 62df9c5

Please sign in to comment.