Skip to content

Commit

Permalink
updates localized fields docs to include useLocalizedField hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaplanshopify committed Jan 14, 2025
1 parent 7fadf02 commit 06bae0b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ const data: ReferenceEntityTemplateSchema = {
'Returns the current localized fields and re-renders your component if the values change.',
type: 'UseLocalizedFieldsGeneratedType',
},
{
title: 'useLocalizedField',
description:
'Returns the current localized field or undefined for the specified localized field key and re-renders your component if the value changes.',
type: 'UseLocalizedFieldGeneratedType',
},
],
defaultExample: getExample('localized-fields/default', ['jsx', 'js']),
related: getLinksByTag('apis'),
Expand Down

0 comments on commit 06bae0b

Please sign in to comment.