From 46c4d08d6da57d618c18261d68c10a736c01f3ea Mon Sep 17 00:00:00 2001 From: Himanshu Gupta Date: Sat, 6 Apr 2024 16:47:25 +0530 Subject: [PATCH] fix(color picker): changed color picker msg --- __app/component/ColorPicker/ColorPicker.js | 2 +- __app/component/ColorPicker/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/__app/component/ColorPicker/ColorPicker.js b/__app/component/ColorPicker/ColorPicker.js index a183d77..f3f76d3 100644 --- a/__app/component/ColorPicker/ColorPicker.js +++ b/__app/component/ColorPicker/ColorPicker.js @@ -51,7 +51,7 @@ ColorPicker.propTypes = { ColorPicker.defaultProps = { successCb: () => {}, failureCb: () => {}, - successMsg: 'Color copied successfully!!', + successMsg: 'Color picked successfully!!', failureMsg: { ...failureMsgDefault }, }; diff --git a/__app/component/ColorPicker/README.md b/__app/component/ColorPicker/README.md index b848b21..c76e32d 100644 --- a/__app/component/ColorPicker/README.md +++ b/__app/component/ColorPicker/README.md @@ -6,7 +6,7 @@ ```js Pass clickable(button, anchor etc) element here to bind onClick event @@ -17,13 +17,13 @@ ```js const successCb = ({ msgType, msg, data }) => { console.log(msgType); // Success - console.log(msg); // Color copied successfully!! + console.log(msg); // Color picked successfully!! console.log(data); // #FFFFFF (Color Code) } @@ -80,7 +80,7 @@ Failure can happend due to multiple reasons, due to that reason ```failureMsg``` ```js