/* * Copyright 2026 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 */ import {Input, Label, TextField, useDrag} from 'react-aria-components'; import React, {useState} from 'react'; interface RecordItem { id: string; name: string; owner: string; status: string; } function NotesField() { let [value, setValue] = useState(''); return ( <> {value} ); } function DraggableCard({item}: {item: RecordItem}) { let {dragProps, isDragging} = useDrag({getItems: () => [{'text/plain': item.name}]}); return (
{item.name} {item.owner} ยท {item.status}
); } export function DndFixture({items}: {items: RecordItem[]}) { return ( <>
{items.map(item => ( ))}
); }