Skip to content

Commit

Permalink
Alphabetize props in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amyleadem committed Aug 14, 2024
1 parent 89d281e commit 1d023af
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/components/usa-identifier/_readme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The identifier communicates a site's parent agency and displays agency links req

- [`@import ...`] (TK)

Learn more about [installing and using USWDS web components] (TK).
Learn more about [installing and using USWDS web components] (Link TK).

## Properties

Expand All @@ -39,20 +39,22 @@ Learn more about [installing and using USWDS web components] (TK).
| `label` | `<usa-identifier>` | `string` | Set a custom aria label for the identifier component. Default value: "Agency identifier" |
| `lang` | `<usa-identifier>` | `string` | Set the language for the default component text. Expected values: "en", "es" |
| `taxpayer` | `<usa-identifier>` | `boolean` | Include the "Produced and published at taxpayer expense" text |
| `urlAbout` | `<usa-identifier>` | `string` | The url for the parent agency's "About" page |
| `urlAccessibility` | `<usa-identifier>` | `string` | The url for the parent agency's "Accesibility statement" page |
| `urlFOIA` | `<usa-identifier>` | `string` | The url for the parent agency's "FOIA requests" page |
| `urlNoFEAR` | `<usa-identifier>` | `string` | The url for the parent agency's No FEAR Act data" page |
| `urlOIG` | `<usa-identifier>` | `string` | The url for the parent agency's "Office of the inspector general" page |
| `urlPerformance` | `<usa-identifier>` | `string` | The url for the parent agency's "Performance reports" page |
| `urlPrivacy` | `<usa-identifier>` | `string` | The url for the parent agency's "Privacy policy" page |
| `textAbout` | `<usa-identifier>` | `string` | Custom translation text for the "Accessibility statement" link |
| `textAccessibility` | `<usa-identifier>` | `string` | Custom translation text for the "About" link |
| `textFOIA` | `<usa-identifier>` | `string` | Custom translation text for the "FOIA Requests" link |
| `textNoFEAR` | `<usa-identifier>` | `string` | Custom translation text for the "No FEAR Act data" link |
| `textOIG` | `<usa-identifier>` | `string` | Custom translation text for the "Office of the Inspector General" link |
| `textPerformance` | `<usa-identifier>` | `string` | Custom translation text for the "Performance reports" link |
| `textPrivacy` | `<usa-identifier>` | `string` | Custom translation text for the "Privacy policy" link |
| `urlAbout` | `<usa-identifier>` | `string` | The url for the parent agency's "About" page |
| `urlAccessibility` | `<usa-identifier>` | `string` | The url for the parent agency's "Accesibility statement" page |
| `urlFOIA` | `<usa-identifier>` | `string` | The url for the parent agency's "FOIA requests" page |
| `urlNoFEAR` | `<usa-identifier>` | `string` | The url for the parent agency's No FEAR Act data" page |
| `urlOIG` | `<usa-identifier>` | `string` | The url for the parent agency's "Office of the inspector general" page |
| `urlPerformance` | `<usa-identifier>` | `string` | The url for the parent agency's "Performance reports" page |
| `urlPrivacy` | `<usa-identifier>` | `string` | The url for the parent agency's "Privacy policy" page |

Learn more about [using properties on custom elements] (Link TK)

## CSS parts

Expand All @@ -68,7 +70,7 @@ Learn more about [installing and using USWDS web components] (TK).
| `usagov` | The `<p>` element that wraps the USA.gov text |
| `usagov-link` | The `<a>` element inside the usagov text |

Learn more about [adding custom styles with CSS Parts] (TK).
Learn more about [adding custom styles with CSS Parts] (Link TK).

## CSS variables

Expand Down

0 comments on commit 1d023af

Please sign in to comment.