@@ -647,8 +647,6 @@ export const PreSelectedItems = (args: any) => {
647
647
// Just to avoid TypeScript error with required props
648
648
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
649
649
650
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
651
-
652
650
return (
653
651
< TreeView
654
652
defaultItems = { ITEMS_DRIVE }
@@ -695,8 +693,6 @@ export const Disabled = () => {
695
693
// Just to avoid TypeScript error with required props
696
694
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
697
695
698
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
699
-
700
696
return (
701
697
< TreeView
702
698
defaultItems = { ITEMS_DRIVE }
@@ -734,8 +730,6 @@ export const MultipleSelection = (args: any) => {
734
730
// Just to avoid TypeScript error with required props
735
731
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
736
732
737
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
738
-
739
733
return (
740
734
< TreeView
741
735
defaultItems = { ITEMS_DRIVE }
@@ -787,8 +781,6 @@ export const MultipleSelectionWithAsyncLoad = (args: any) => {
787
781
// Just to avoid TypeScript error with required props
788
782
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
789
783
790
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
791
-
792
784
return (
793
785
< TreeView
794
786
defaultItems = { ITEMS_DRIVE }
@@ -915,8 +907,6 @@ export const ExpandOnCheck = (args: any) => {
915
907
// Just to avoid TypeScript error with required props
916
908
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
917
909
918
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
919
-
920
910
return (
921
911
< TreeView
922
912
defaultItems = { ITEMS_DRIVE }
@@ -1238,8 +1228,6 @@ export const SelectionWithFilter = () => {
1238
1228
1239
1229
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
1240
1230
1241
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
1242
-
1243
1231
const itemsFiltered = useMemo < any > ( ( ) => {
1244
1232
if ( ! value ) {
1245
1233
return items ;
@@ -1305,8 +1293,6 @@ export const PerformanceTest = () => {
1305
1293
// Just to avoid TypeScript error with required props
1306
1294
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
1307
1295
1308
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
1309
-
1310
1296
const itemsFiltered = useMemo < Data > ( ( ) => {
1311
1297
if ( ! value ) {
1312
1298
return items ;
@@ -1522,8 +1508,6 @@ export const DemoCategoriesMultiple = () => {
1522
1508
// Just to avoid TypeScript error with required props
1523
1509
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
1524
1510
1525
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
1526
-
1527
1511
return (
1528
1512
< TreeView
1529
1513
defaultItems = { [
@@ -1673,8 +1657,6 @@ export const DemoDocumentsMultiple = () => {
1673
1657
// Just to avoid TypeScript error with required props
1674
1658
const OptionalCheckbox = ( props : any ) => < Checkbox { ...props } /> ;
1675
1659
1676
- OptionalCheckbox . displayName = 'ClayCheckbox' ;
1677
-
1678
1660
const MAPPING_ICON = {
1679
1661
article : 'web-content' ,
1680
1662
documents : 'documents-and-media' ,
0 commit comments