From bedfc35d9f210f442e26886b612a79f2e7253a51 Mon Sep 17 00:00:00 2001 From: Abhishek Reddy <62020972+AbhishekReddy1127@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:05:02 -0600 Subject: [PATCH] Updated link Validation section (#270) * Updated link Validation section Signed-off-by: AbhishekReddy1127 * Updated the incoorect text Signed-off-by: AbhishekReddy1127 * Updated the links Signed-off-by: AbhishekReddy1127 --------- Signed-off-by: AbhishekReddy1127 (cherry picked from commit 773e6616bced2d7842859adc604c3c15eff6bd90) --- src-docs/src/views/link/link.js | 8 ++++---- src-docs/src/views/link/link_validation.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src-docs/src/views/link/link.js b/src-docs/src/views/link/link.js index eacd295953..4e73a49d08 100644 --- a/src-docs/src/views/link/link.js +++ b/src-docs/src/views/link/link.js @@ -17,15 +17,15 @@ export default () => (

Open the{' '} - - Elastic website + + OpenSearch website {' '} in a new tab. Setting target=“_blank” also defaults to {'external={true}'}.

This{' '} - + link {' '} has the external prop set to true. @@ -37,7 +37,7 @@ export default () => (

Here is an example of a{' '} { e.preventDefault(); }}> diff --git a/src-docs/src/views/link/link_validation.js b/src-docs/src/views/link/link_validation.js index dd8cb36225..3f9fd03215 100644 --- a/src-docs/src/views/link/link_validation.js +++ b/src-docs/src/views/link/link_validation.js @@ -13,8 +13,8 @@ import React from 'react'; import { OuiLink } from '../../../../src/components'; const urls = [ - 'https://elastic.co', - '//elastic.co', + 'https://opensearch.org', + '//opensearch.org', 'relative/url/somewhere', 'http://username:password@example.com/', // eslint-disable-next-line no-script-url