import createGlyphComponent from '../createGlyphComponent' ; import { LGGlyph } from '../types' ; import ActivityFeed from './ActivityFeed.svg' ; import AddFile from './AddFile.svg' ; import Apps from './Apps.svg' ; import Array from './Array.svg' ; import ArrowDown from './ArrowDown.svg' ; import ArrowLeft from './ArrowLeft.svg' ; import ArrowRight from './ArrowRight.svg' ; import ArrowUp from './ArrowUp.svg' ; import Beaker from './Beaker.svg' ; import Bell from './Bell.svg' ; import Building from './Building.svg' ; import Bulb from './Bulb.svg' ; import Calendar from './Calendar.svg' ; import CaretDown from './CaretDown.svg' ; import CaretLeft from './CaretLeft.svg' ; import CaretRight from './CaretRight.svg' ; import CaretUp from './CaretUp.svg' ; import Charts from './Charts.svg' ; import Checkmark from './Checkmark.svg' ; import CheckmarkWithCircle from './CheckmarkWithCircle.svg' ; import ChevronUp from './ChevronUp.svg' ; import ChevronDown from './ChevronDown.svg' ; import ChevronRight from './ChevronRight.svg' ; import ChevronLeft from './ChevronLeft.svg' ; import Clone from './Clone.svg' ; import Cloud from './Cloud.svg' ; import Code from './Code.svg' ; import Connect from './Connect.svg' ; import Copy from './Copy.svg' ; import CreditCard from './CreditCard.svg' ; import CurlyBraces from './CurlyBraces.svg' ; import Database from './Database.svg' ; import Diagram from './Diagram.svg' ; import Disconnect from './Disconnect.svg' ; import Download from './Download.svg' ; import Edit from './Edit.svg' ; import Ellipsis from './Ellipsis.svg' ; import Export from './Export.svg' ; import Favorite from './Favorite.svg' ; import File from './File.svg' ; import Filter from './Filter.svg' ; import FullScreenEnter from './FullScreenEnter.svg' ; import FullScreenExit from './FullScreenExit.svg' ; import Folder from './Folder.svg' ; import GlobeAmericas from './GlobeAmericas.svg' ; import GovernmentBuilding from './GovernmentBuilding.svg' ; import Home from './Home.svg' ; import ImportantWithCircle from './ImportantWithCircle.svg' ; import InfoWithCircle from './InfoWithCircle.svg' ; import InviteUser from './InviteUser.svg' ; import Laptop from './Laptop.svg' ; import Lock from './Lock.svg' ; import MagnifyingGlass from './MagnifyingGlass.svg' ; import Megaphone from './Megaphone.svg' ; import Menu from './Menu.svg' ; import Minus from './Minus.svg' ; import NotAllowed from './NotAllowed.svg' ; import OpenNewTab from './OpenNewTab.svg' ; import Pause from './Pause.svg' ; import Person from './Person.svg' ; import PersonGroup from './PersonGroup.svg' ; import PersonWithLock from './PersonWithLock.svg' ; import Play from './Play.svg' ; import Plus from './Plus.svg' ; import PlusWithCircle from './PlusWithCircle.svg' ; import QuestionMarkWithCircle from './QuestionMarkWithCircle.svg' ; import Refresh from './Refresh.svg' ; import Save from './Save.svg' ; import Settings from './Settings.svg' ; import Shell from './Shell.svg' ; import SortAscending from './SortAscending.svg' ; import SortDescending from './SortDescending.svg' ; import Stitch from './Stitch.svg' ; import Support from './Support.svg' ; import Table from './Table.svg' ; import TimeSeries from './TimeSeries.svg' ; import Trash from './Trash.svg' ; import University from './University.svg' ; import Unlock from './Unlock.svg' ; import Unsorted from './Unsorted.svg' ; import UpDownCarets from './UpDownCarets.svg' ; import Upload from './Upload.svg' ; import VerticalEllipsis from './VerticalEllipsis.svg' ; import Visibility from './Visibility.svg' ; import VisibilityOff from './VisibilityOff.svg' ; import Warning from './Warning.svg' ; import X from './X.svg' ; import XWithCircle from './XWithCircle.svg' ; const glyphs = { ActivityFeed , AddFile , Apps , Array , ArrowDown , ArrowLeft , ArrowRight , ArrowUp , Beaker , Bell , Building , Bulb , Calendar , CaretDown , CaretLeft , CaretRight , CaretUp , Charts , Checkmark , CheckmarkWithCircle , ChevronDown , ChevronLeft , ChevronRight , ChevronUp , Clone , Cloud , Code , Connect , Copy , CreditCard , CurlyBraces , Database , Diagram , Disconnect , Download , Edit , Ellipsis , Export , Favorite , File , Filter , FullScreenEnter , FullScreenExit , Folder , GlobeAmericas , GovernmentBuilding , Home , ImportantWithCircle , InfoWithCircle , InviteUser , Laptop , Lock , MagnifyingGlass , Megaphone , Menu , Minus , NotAllowed , OpenNewTab , Pause , Person , PersonGroup , PersonWithLock , Play , Plus , PlusWithCircle , QuestionMarkWithCircle , Refresh , Save , Settings , Shell , SortAscending , SortDescending , Stitch , Support , Table , TimeSeries , Trash , University , Unlock , Unsorted , UpDownCarets , Upload , VerticalEllipsis , Visibility , VisibilityOff , Warning , X , XWithCircle , } as const ; type GlyphName = keyof typeof glyphs ; const glyphKeys = Object . keys ( glyphs ) as Array < GlyphName > ; const processedGlyphs = glyphKeys . reduce ( ( acc , name ) => { acc [ name ] = createGlyphComponent ( name , glyphs [ name ] ) ; return acc ; } , { } as Record < GlyphName , LGGlyph . Component > ) ; export default processedGlyphs ;