From dba26d9bb0b53a034027d45fb9f3360434372655 Mon Sep 17 00:00:00 2001 From: Lucas Mesquita Date: Tue, 30 Aug 2022 11:26:04 -0300 Subject: [PATCH] Replacing ref string with ref variable --- docs/rules/jsx-sort-props.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rules/jsx-sort-props.md b/docs/rules/jsx-sort-props.md index 4810b667f9..0250a66007 100644 --- a/docs/rules/jsx-sort-props.md +++ b/docs/rules/jsx-sort-props.md @@ -125,8 +125,8 @@ This can be a boolean or an array option. When `reservedFirst` is defined, React reserved props (`children`, `dangerouslySetInnerHTML` - **only for DOM components**, `key`, and `ref`) must be listed before all other props, but still respecting the alphabetical order: ```jsx - -
+ +
``` @@ -135,7 +135,7 @@ If given as an array, the array's values will override the default list of reser With `reservedFirst: ["key"]`, the following will **not** warn: ```jsx - + ``` ### `locale`