From 7b02f510d6f7ce6c90c44fdc198e6b9fd9d0b0f4 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Wed, 5 Apr 2023 18:21:07 +0200 Subject: [PATCH] chore: fix migration guide role prop naming (#1382) --- website/docs/MigrationV12.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/MigrationV12.md b/website/docs/MigrationV12.md index ba7fcc65..c49431d8 100644 --- a/website/docs/MigrationV12.md +++ b/website/docs/MigrationV12.md @@ -28,23 +28,23 @@ Following elements will match: ```ts // Explicit "accessible" prop for View - + // No need to "accessible" prop for Text, as it is implicitly accessible element. -Button +Button ``` While following elements will not match: ```ts // Missing "accessible" prop for View - + // Explicit "accessible={false}" prop for View - + // Explicit "accessible={false}" for Text, which is implicitly accessible element -Button +Button ``` ## 3. `*ByText`, `*ByDisplayValue`, `*ByPlaceholderText` queries now return host elements