Skip to content

Commit

Permalink
pass down HelperText id
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjwatkins committed Dec 5, 2023
1 parent 99fff52 commit 5f99a13
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions easy-ui-react/src/FormLayout/HelperText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export type HelperTextProps = {
};

export function HelperText(props: HelperTextProps) {
const { children } = props;
return <Text variant="body1">{children}</Text>;
const { id, children } = props;
return (
<Text id={id} variant="body1">
{children}
</Text>
);
}

0 comments on commit 5f99a13

Please sign in to comment.