File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33import { useRef , useState } from "react" ;
44
55import { getIsRtl } from "@cloudscape-design/component-toolkit/internal" ;
6- import SpaceBetween from "@cloudscape-design/components/space-between " ;
6+ import ColumnLayout from "@cloudscape-design/components/column-layout " ;
77
88import { getDataAttributes } from "../internal/base-component/get-data-attributes" ;
99import { InternalBaseComponentProps } from "../internal/base-component/use-base-component" ;
@@ -72,7 +72,7 @@ export function InternalItemsPalette<D>({
7272 return (
7373 < div ref = { __internalRootRef } { ...getDataAttributes ( rest ) } >
7474 < div ref = { paletteRef } className = { styles . root } >
75- < SpaceBetween size = "l" >
75+ < ColumnLayout columns = { 3 } >
7676 { items . map ( ( item ) => (
7777 < ItemContainer
7878 ref = { ( elem ) => {
@@ -100,7 +100,7 @@ export function InternalItemsPalette<D>({
100100 { ( hasDropTarget ) => renderItem ( item , { showPreview : hasDropTarget } ) }
101101 </ ItemContainer >
102102 ) ) }
103- </ SpaceBetween >
103+ </ ColumnLayout >
104104 </ div >
105105
106106 < LiveRegion > { announcement } </ LiveRegion >
You can’t perform that action at this time.
0 commit comments