From 62f372aaa124688b9bc3ebde4acb0dfa1fbb1543 Mon Sep 17 00:00:00 2001 From: Abhishek Reddy <62020972+AbhishekReddy1127@users.noreply.github.com> Date: Mon, 13 Feb 2023 13:26:32 -0600 Subject: [PATCH] Changed the references of elastic.co to opensearch.org and changed Toggle button name and its example text (#219) Signed-off-by: AbhishekReddy1127 --- src-docs/src/views/button/button_as_link.js | 16 +++++++++------- src-docs/src/views/button/button_ghost.js | 2 +- src-docs/src/views/button/button_toggle.js | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src-docs/src/views/button/button_as_link.js b/src-docs/src/views/button/button_as_link.js index 6bde55f42e..06303d2edd 100644 --- a/src-docs/src/views/button/button_as_link.js +++ b/src-docs/src/views/button/button_as_link.js @@ -23,18 +23,20 @@ export default () => ( - Link to elastic.co + + Link to OpenSearch.org + - - Link to elastic.co + + Link to OpenSearch.org @@ -43,20 +45,20 @@ export default () => ( - + Disabled link - + Disabled empty link { isSelected={toggle0On} fill={toggle0On} onClick={onToggle0Change}> - Toggle me + Toggle diff --git a/src-docs/src/views/button/button_toggle.js b/src-docs/src/views/button/button_toggle.js index a5eb0f031d..f619cb058a 100644 --- a/src-docs/src/views/button/button_toggle.js +++ b/src-docs/src/views/button/button_toggle.js @@ -34,7 +34,7 @@ export default () => { onClick={() => { setToggle0On((isOn) => !isOn); }}> - {toggle0On ? 'Hey there good lookin' : 'Toggle me'} + {toggle0On ? 'Tada!' : 'Toggle'}   { onClick={() => { setToggle2On((isOn) => !isOn); }}> - Toggle me + Toggle