Skip to content

Commit

Permalink
fix(InputLabel): Allow tag to be configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
HHogg committed Jun 16, 2024
1 parent fb2206e commit 5603e4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workspaces/package/src/Input/InputLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const InputLabel = forwardRef<any, InputLabelProps>((props, ref) => {
description,
label,
paddingHorizontal = 'x3',
tag = 'label',
...rest
} = props;

Expand All @@ -37,7 +38,7 @@ export const InputLabel = forwardRef<any, InputLabelProps>((props, ref) => {
flex="vertical"
gap="x2"
ref={ref}
tag="label"
tag={tag}
>
{label && (
<Text
Expand Down

0 comments on commit 5603e4e

Please sign in to comment.