File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/react/src/components/DataTable Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11/**
2- * Copyright IBM Corp. 2016, 2023
2+ * Copyright IBM Corp. 2016, 2025
33 *
44 * This source code is licensed under the Apache-2.0 license found in the
55 * LICENSE file in the root directory of this source tree.
@@ -58,20 +58,21 @@ export type TableExpandHeaderPropsBase = {
5858
5959export type TableExpandHeaderPropsWithToggle = Omit <
6060 TableExpandHeaderPropsBase ,
61- 'ariaLabel' | ' aria-label' | 'enableToggle' | 'onExpand'
61+ 'aria-label' | 'enableToggle' | 'onExpand'
6262> & {
6363 enableToggle : true ;
64- ariaLabel : string ;
6564 [ 'aria-label' ] : string ;
6665 onExpand ( event : React . MouseEvent < HTMLButtonElement > ) : void ;
6766} ;
6867
6968export type TableExpandHeaderPropsWithExpando = Omit <
7069 TableExpandHeaderPropsBase ,
71- 'ariaLabel' | ' aria-label' | 'enableExpando' | 'onExpand'
70+ 'aria-label' | 'enableExpando' | 'onExpand'
7271> & {
72+ /**
73+ * @deprecated The enableExpando prop is being replaced by `enableToggle`
74+ */
7375 enableExpando : true ;
74- ariaLabel : string ;
7576 [ 'aria-label' ] : string ;
7677 onExpand ( event : React . MouseEvent < HTMLButtonElement > ) : void ;
7778} ;
You can’t perform that action at this time.
0 commit comments