mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
17 lines
363 B
JavaScript
17 lines
363 B
JavaScript
import React from 'react';
|
|
import EndpointItem from './EndpointItem.jsx';
|
|
|
|
export default function EndpointItems({ endpoints, onSelect }) {
|
|
return (
|
|
<>
|
|
{endpoints.map(endpoint => (
|
|
<EndpointItem
|
|
key={endpoint}
|
|
value={endpoint}
|
|
onSelect={onSelect}
|
|
endpoint={endpoint}
|
|
/>
|
|
))}
|
|
</>
|
|
);
|
|
}
|