const users = [ { id: 1, name: 'Ali' }, { id: 2, name: 'Sara' }, { id: 3, name: 'Reza' }, ]; function UserList() { return ( <ul> {users.map((user) => ( <li key={user.id}>{user.name}</li> ))} </ul> ); }