import React from "react"; import { LUCIDE_ICONS_LIST } from "../lucide-icons"; type LucideIconsListProps = { onChange: (value: { name: string; color: string }) => void; activeColor: string; query: string; }; export const LucideIconsList: React.FC = (props) => { const { query, onChange, activeColor } = props; const filteredArray = LUCIDE_ICONS_LIST.filter((icon) => icon.name.toLowerCase().includes(query.toLowerCase())); return ( <> {filteredArray.map((icon) => ( ))} ); };