mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-01 08:08:49 +01:00
11 lines
282 B
React
11 lines
282 B
React
|
|
import React from 'react';
|
||
|
|
|
||
|
|
export default function NavLink({ svg, text }) {
|
||
|
|
return (
|
||
|
|
<a className="flex cursor-pointer items-center gap-3 rounded-md py-3 px-3 text-sm text-white transition-colors duration-200 hover:bg-gray-500/10">
|
||
|
|
{svg()}
|
||
|
|
{text}
|
||
|
|
</a>
|
||
|
|
);
|
||
|
|
}
|