@@ -995,11 +995,6 @@ const InitialFocusExample = (args: {
995995 < div style = { { display : 'flex' , flexDirection : 'column' , gap : 8 } } >
996996 < Table aria-label = "Files" { ...args } >
997997 < TableHeader >
998- { args . selectionMode !== 'none' && (
999- < Column >
1000- < MyCheckbox slot = "selection" />
1001- </ Column >
1002- ) }
1003998 < Column isRowHeader allowsSorting >
1004999 Name
10051000 </ Column >
@@ -1008,31 +1003,16 @@ const InitialFocusExample = (args: {
10081003 </ TableHeader >
10091004 < TableBody >
10101005 < Row id = "1" >
1011- { args . selectionMode !== 'none' && (
1012- < Cell >
1013- < MyCheckbox slot = "selection" />
1014- </ Cell >
1015- ) }
10161006 < Cell > Games</ Cell >
10171007 < Cell > File folder</ Cell >
10181008 < Cell > 6/7/2020</ Cell >
10191009 </ Row >
10201010 < Row id = "2" >
1021- { args . selectionMode !== 'none' && (
1022- < Cell >
1023- < MyCheckbox slot = "selection" />
1024- </ Cell >
1025- ) }
10261011 < Cell > Program Files</ Cell >
10271012 < Cell > File folder</ Cell >
10281013 < Cell > 4/7/2021</ Cell >
10291014 </ Row >
10301015 < Row id = "3" >
1031- { args . selectionMode !== 'none' && (
1032- < Cell >
1033- < MyCheckbox slot = "selection" />
1034- </ Cell >
1035- ) }
10361016 < Cell > bootmgr</ Cell >
10371017 < Cell > System file</ Cell >
10381018 < Cell > 11/20/2010</ Cell >
@@ -1044,7 +1024,7 @@ const InitialFocusExample = (args: {
10441024
10451025export const InitialFocusExampleStory : StoryObj < typeof InitialFocusExample > = {
10461026 render : InitialFocusExample ,
1047- name : 'initialFocus="columnheader" with selection checkbox column ' ,
1027+ name : 'initialFocus="columnheader"' ,
10481028 args : {
10491029 initialFocus : 'columnheader' ,
10501030 selectionMode : 'multiple'
0 commit comments