From f72acbcaa19c777b9af98129abeff5a59329f354 Mon Sep 17 00:00:00 2001 From: arkaprota Date: Tue, 22 Oct 2024 11:58:50 +0530 Subject: [PATCH] feat(core): :truck: name of the props has change the name of CoreList props (toolbar - enableToolbar and search - enableSearch) Ref: #377 --- package/components/dataDisplay/CoreList.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/package/components/dataDisplay/CoreList.js b/package/components/dataDisplay/CoreList.js index 4240b897..2b4d53fb 100644 --- a/package/components/dataDisplay/CoreList.js +++ b/package/components/dataDisplay/CoreList.js @@ -148,7 +148,7 @@ CoreList.validProps = [ }, { description: "This helps to add toolbox to selaect the size in the corelist.", - name : "toolbar", + name : "enableToolbar", types : [ { default : false, @@ -159,11 +159,17 @@ CoreList.validProps = [ }, { description: "This helps to add Searchbar in the toolbar of corelist.", - name : "search", - types : [{ type: "object" }], + name : "enableSearch", + types : [ + { + default : false, + type : "boolean", + validValues: [true, false] + } + ] }, { - description: "This helps to add Searchbar in the toolbar of corelist.", + description: "This helps to take json file of corelist.", name : "items", types : [{ type: "object" }], },