mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
* style(client): adjust height and add overflow to EditPresetDialog, AgentSettings, and Settings components style(client): adjust size and add overflow to NewConversationMenu and PresetItems components style(ui): add overflow to DialogContent component * style(Settings.jsx): change height of settings component to md:h-[350px] h-[490px]
19 lines
486 B
JavaScript
19 lines
486 B
JavaScript
import React from 'react';
|
|
import PresetItem from './PresetItem.jsx';
|
|
|
|
export default function PresetItems({ presets, onSelect, onChangePreset, onDeletePreset }) {
|
|
return (
|
|
<>
|
|
{presets.map((preset) => (
|
|
<PresetItem
|
|
key={preset?.presetId ?? Math.random()}
|
|
value={preset}
|
|
onSelect={onSelect}
|
|
onChangePreset={onChangePreset}
|
|
onDeletePreset={onDeletePreset}
|
|
preset={preset}
|
|
/>
|
|
))}
|
|
</>
|
|
);
|
|
}
|