import * as React from 'react'; import { BnRemove } from './BnRemove'; import { BnDollar } from './BnDollar'; import { BnInfo } from './BnInfo'; import { BnArrowDown } from './BnArrowDown'; import { BnArrowUp } from './BnArrowUp'; import { BnClose } from './BnClose'; import { BnWhiteCheck } from './BnWhiteCheck'; import { BnBack } from './BnBack'; import { BnCalendar } from './BnCalendar'; import { BnForward } from './BnForward'; import { BnCourt } from './BnCourt'; import { BnActivity } from './BnActivity'; import { BnTag } from './BnTag'; import { BnProfiles } from './BnProfiles'; import { BnEditOutline } from './BnEditOutline'; import { BnArrowLeft } from './BnArrowLeft'; import { BnCash } from './BnCash'; import { BnTickets } from './BnTickets'; import { BnReports } from './BnReports'; import { BnClock } from './BnClock'; import { BnSettingsOutline } from './BnSettingsOutline'; import { BnBell } from './BnBell'; import { BnMore } from './BnMore'; import { BnCollapse } from './BnCollapse'; import { BnSupport } from './BnSupport'; import { Logo } from './Logo'; import { BnRightAction } from './BnRightAction'; import { BnPlus } from './BnPlus'; import { BnSquareAndPlus } from './BnSquareAndPlus'; import { BnEllipseMid } from './BnEllipseMid'; import { BnExcel } from './BnExcel'; import { BnCreditCard } from './BnCreditCard'; import { SmallLogo } from './SmallLogo'; import { BnLocation } from './BnLocation'; import { BnWhistle } from './BnWhistle'; import { BnMountain } from './BnMountain'; import { BnProfile } from './BnProfile'; import { BnBackpack } from './BnBackpack'; import { BnSearch } from './BnSearch'; import { BnNoteFilled } from './BnNoteFilled'; import { BnConflict } from './BnConflict'; import { BnBoxedCard } from './BnBoxedCard'; import { BnView } from './BnView'; import { BnTrash } from './BnTrash'; import { BnMinus } from './BnMinus'; import { BnExpandAll } from './BnExpandAll'; import { BnFilters } from './BnFilters'; import { BsTennis } from './sports/BsTennis'; import { BsVollyball } from './sports/BsVollyball'; import { BnVertical } from './BnVertical'; import { BnHorizontal } from './BnHorizontal'; import { BnList } from './BnList'; import { BnDrag } from './BnDrag'; import { BnWhistleOutline } from './BnWhistleOutline'; import styled from '@emotion/styled'; const IconContainer = styled.div` display: flex; justify-content: center; align-items: center; padding-right: 4px; padding-left: 4px; `; function IconnifyNew(icon: string, props: any) { switch (icon) { case 'remove': return ; case 'minus': return ; case 'profile_filled': return ; case 'trash': return ; case 'dollar': return ; case 'info': return ; case 'arrow_down': return ; case 'edit_outline': return ; case 'credit_card': return ; case 'view': return ; case 'more': return ; case 'search': return ; case 'arrow_up': return ; case 'note_filled': return ; case 'conflict': return ; case 'close': return ; case 'whistle': return ; case 'whitecheck': return ; case 'arrow_left': return ; case 'mountain': return ; case 'back': return ; case 'forward': return ; case 'calendar': return ; case 'court': return ; case 'backpack': return ; case 'activity': return ; case 'location': return ; case 'tag': return ; case 'profiles': return ; case 'tickets': return ; case 'cash': return ; case 'reports': return ; case 'clock': return ; case 'settings_outline': return ; case 'bell': return ; case 'collapse': return ; case 'support': return ; case 'plus': return ; case 'right-action': return ; case 'ellipse_mid': return ; case 'excel': return ; case 'squareAndPlus': return ; case 'boxed_card': return ; case 'sport_tennis': return ; case 'sport_vollyball': return ; case 'filters': return ; case 'expand_all': return ; case 'vertical': return ; case 'horizontal': return ; case 'list': return ; case 'drag': return ; case 'whistle_outline': return ; default: return <>; } } export const BnIcon = ({ icon, ...props }: { icon: string; props: any }) => { return IconnifyNew(icon, props); }; export const getIcon = (name: string, paddingTo?: string) => { function Iconnify() { switch (name) { case 'remove': return ; case 'minus': return ; case 'profile_filled': return ; case 'trash': return ; case 'dollar': return ; case 'info': return ; case 'arrow_down': return ; case 'edit_outline': return ; case 'credit_card': return ; case 'view': return ; case 'more': return ; case 'search': return ; case 'arrow_up': return ; case 'note_filled': return ; case 'conflict': return ; case 'close': return ; case 'whistle': return ; case 'whitecheck': return ; case 'arrow_left': return ; case 'mountain': return ; case 'back': return ; case 'forward': return ; case 'calendar': return ; case 'court': return ; case 'backpack': return ; case 'activity': return ; case 'location': return ; case 'tag': return ; case 'profiles': return ; case 'tickets': return ; case 'cash': return ; case 'reports': return ; case 'clock': return ; case 'settings_outline': return ; case 'bell': return ; case 'collapse': return ; case 'support': return ; case 'plus': return ; case 'right-action': return ; case 'ellipse_mid': return ; case 'excel': return ; case 'squareAndPlus': return ; case 'boxed_card': return ; case 'sport_tennis': return ; case 'sport_vollyball': return ; case 'filters': return ; case 'expand_all': return ; case 'vertical': return ; case 'horizontal': return ; case 'list': return ; case 'drag': return ; case 'whistle_outline': return ; default: return <>; } } return ( {Iconnify()} ); }; export { BnRemove, BnDollar, BnInfo, BnBackpack, BnArrowDown, BnTag, BnArrowUp, BnClose, BnActivity, BnMinus, BnProfiles, BnArrowLeft, BnBack, BnWhiteCheck, BnWhistle, BnMountain, BnBoxedCard, BnCreditCard, BnForward, BnEditOutline, BnLocation, BnSquareAndPlus, BnCourt, BnSettingsOutline, BnMore, BnNoteFilled, BnReports, BnProfile, BnCalendar, BnView, BnCash, BnTickets, Logo, SmallLogo, BnSearch, BnExcel, BnPlus, BnSupport, BnCollapse, BnTrash, BnConflict, BnRightAction, };