嘗試在應用篩選器function.I后顯示結果需要與它給出的searchValue.but進行比較
{noteList.filter((obj,index) => <Card
noteObj={obj.Name.toLowerCase().includes(searchValue)}
index={index}
deleteNote={deleteNote}
updateNoteArray={updateNoteArray}
/>)
}
use
map
notfilter