File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/@react-spectrum/table/docs Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1056,7 +1056,7 @@ function DroppableTableViewFolder(props: DndTableViewProps) {
1056
1056
{ columnKey => (
1057
1057
<Cell >
1058
1058
{ item [columnKey ]}
1059
- { columnKey === ' type' && item [columnKey ] === ' folder' && item .childNodes .length > 0 &&
1059
+ { columnKey === ' type' && item [columnKey ] === ' folder' && item .childNodes .length > 0 &&
1060
1060
` (${item .childNodes ?.length } dropped item(s) `
1061
1061
}
1062
1062
</Cell >
@@ -1163,7 +1163,6 @@ function ReorderableTable() {
1163
1163
<TableView
1164
1164
aria-label = " Reorderable TableView"
1165
1165
selectionMode = " multiple"
1166
- width = " size-5000"
1167
1166
height = " size-3600"
1168
1167
dragAndDropHooks = { dragAndDropHooks } >
1169
1168
<TableHeader columns = { columns } >
@@ -1519,7 +1518,7 @@ Use the `renderPreview` prop to provide a custom drag preview. `keys` and `dragg
1519
1518
1520
1519
``` tsx example export=true render=false
1521
1520
import {View } from ' @react-spectrum/view' ;
1522
-
1521
+
1523
1522
function CustomDragPreviewExample() {
1524
1523
let columns = [
1525
1524
{name: ' Name' , id: ' name' },
@@ -1559,7 +1558,6 @@ function CustomDragPreviewExample() {
1559
1558
<TableView
1560
1559
aria-label = " Draggable TableView example with custom drag preview"
1561
1560
selectionMode = " multiple"
1562
- width = " size-5000"
1563
1561
height = " size-3600"
1564
1562
dragAndDropHooks = { dragAndDropHooks } >
1565
1563
<TableHeader columns = { columns } >
You can’t perform that action at this time.
0 commit comments