Skip to content

Commit

Permalink
feat(odyssey-react-mui): update prop description
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancunningham-okta committed Sep 9, 2024
1 parent d6f094a commit 220670e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/odyssey-react-mui/src/FieldComponentProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,17 @@ export type FieldComponentProps = {
name?: string;
} & (
| {
/**
* If `hasVisibleLabel` is `false` it will also hide any `hint` text and `HintLinkComponent` that is passed in
*/
hasVisibleLabel?: false;
hint: never;
HintLinkComponent: never;
}
| {
/**
* defaults to `true` if `false` along with hiding the label it will also hide any `hint` text and `HintLinkComponent` that is passed in
*/
hasVisibleLabel?: true;
/**
* The helper text content.
Expand Down

0 comments on commit 220670e

Please sign in to comment.