Skip to content

Commit

Permalink
refactor: react aria pattern and autoComplete helptext formatted
Browse files Browse the repository at this point in the history
GitOrigin-RevId: a109a85f42f5a74ba24860035ecc903e53b684d6
  • Loading branch information
abbas-nazar authored and actions-user committed Oct 21, 2024
1 parent c72d68e commit e5c86e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plasmicpkgs/react-aria/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function getCommonProps<T>(
description:
"Regex pattern that the value of the input must match to be valid",
helpText:
"For more information about writing Regular Expressions (regex), check out https://regexr.com/",
"For more information about writing Regular Expressions (regex), visit [Regexr](https://regexr.com/)",
validator: (value: string) => {
try {
new RegExp(value);
Expand Down Expand Up @@ -195,7 +195,7 @@ export function getCommonProps<T>(
hidden: hasParent,
description: "Guidance as to the type of data expected in the field",
helpText:
"For explanations on what each of the values mean, check https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values",
"Learn more about the available options on the [MDN guide](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values)",
options: [
"on",
"off",
Expand Down

0 comments on commit e5c86e1

Please sign in to comment.