Skip to content

Commit 5dcf206

Browse files
committed
Fix linting issue
1 parent f49d1ac commit 5dcf206

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

example/app/src/examples/SortableFlex/features/DataChangeExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ export default function DataChangeExample() {
141141

142142
<Sortable.Flex
143143
columnGap={spacing.sm}
144+
dimensionsAnimationType='worklet'
144145
rowGap={spacing.xs}
145146
scrollableRef={scrollableRef}
146-
dimensionsAnimationType='worklet'
147147
hapticsEnabled
148148
onDragEnd={({ order }) => setData(order(data))}>
149149
{data.map(item => (

example/app/src/examples/SortableGrid/features/DataChangeExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ export default function DataChangeExample() {
149149
columnGap={spacing.sm}
150150
columns={COLUMNS}
151151
data={data}
152+
dimensionsAnimationType='worklet'
152153
renderItem={renderItem}
153154
rowGap={spacing.xs}
154155
scrollableRef={scrollableRef}
155-
dimensionsAnimationType='worklet'
156156
hapticsEnabled
157157
onDragEnd={({ data: newData }) => setData(newData)}
158158
/>

example/app/src/examples/SortableGrid/features/DragHandleExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export default function DragHandleExample() {
6767
columnGap={10}
6868
columns={columns}
6969
data={DATA}
70-
dragActivationDelay={0}
7170
dimensionsAnimationType='layout'
71+
dragActivationDelay={0}
7272
overDrag={overDrag}
7373
renderItem={renderItem}
7474
rowGap={10}

example/app/src/examples/SortableGrid/features/OrderingStrategyExample.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ export default function OrderingStrategyExample() {
2525
columnGap={spacing.xs}
2626
columns={COLUMNS}
2727
data={DATA}
28+
dimensionsAnimationType='worklet'
2829
renderItem={renderItem}
2930
rowGap={spacing.xs}
3031
strategy='insert'
31-
dimensionsAnimationType='worklet'
3232
/>
3333
</Section>
3434

@@ -39,10 +39,10 @@ export default function OrderingStrategyExample() {
3939
columnGap={spacing.xs}
4040
columns={COLUMNS}
4141
data={DATA}
42+
dimensionsAnimationType='worklet'
4243
renderItem={renderItem}
4344
rowGap={spacing.xs}
4445
strategy='swap'
45-
dimensionsAnimationType='worklet'
4646
/>
4747
</Section>
4848
</Stagger>

example/app/src/examples/SortableGrid/miscellaneous/StaggerAnimationExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ export default function StaggerAnimationExample() {
6767
columnGap={10}
6868
columns={3}
6969
data={data}
70+
dimensionsAnimationType='worklet'
7071
overflow='visible'
7172
renderItem={renderItem}
7273
rowGap={10}
73-
dimensionsAnimationType='worklet'
7474
onDragEnd={handleDragEnd}
7575
/>
7676

0 commit comments

Comments
 (0)