/** @jsxRuntime classic */ /** @jsx jsx */ import React from 'react'; import { css, jsx, useTheme } from '@emotion/react'; import { IColors, Icons } from '../../types/theme'; import { Activity } from './all/Activity'; import { Activity_w } from './all/Activity_w'; import { Addons } from './all/Addons'; import { ArrowLeft } from './all/ArrowLeft'; import { ArrowRight } from './all/ArrowRight'; import { ArrowBottom } from './all/Arrow_bottom'; import { ArrowTop } from './all/Arrow_top'; import { Attach } from './all/Attach'; import { Back } from './all/Back'; import { Bank } from './all/Bank'; import { Bell } from './all/Bell'; import { BillAccount } from './all/Bill_account'; import { Browse } from './all/Browse'; import { Calendar } from './all/Calendar'; import { Cart } from './all/Cart'; import { Cash } from './all/Cash'; import { Check } from './all/Check'; import { CheckP } from './all/Check_p'; import { Clipboard } from './all/Clipboard'; import { Clock } from './all/Clock'; import { Close } from './all/Close'; import { Collapse } from './all/Collapse'; import { CollapseAll } from './all/Collapse_all'; import { Conflict } from './all/Conflict'; import { Copy } from './all/Copy'; import { Court } from './all/Court'; import { CreditCard } from './all/Credit_card'; import { Dashboard } from './all/Dashboard'; import { DeleteFilled } from './all/Delete_filled'; import { DeleteOutline } from './all/Delete_outline'; import { Discount } from './all/Discount'; import { Dollar } from './all/Dollar'; import { Download } from './all/Download'; import { Drag } from './all/Drag'; import { Dropdown } from './all/Dropdown'; import { Dropdown_active } from './all/Dropdown_active'; import { Edit_filled } from './all/Edit_filled'; import { EditOutline } from './all/Edit_outline'; import { Email } from './all/Email'; import { Excel } from './all/Excel'; import { ExclamationMark } from './all/Exclamation-mark'; import { Expand } from './all/Expand'; import { ExpandAll } from './all/Expand_all'; import { ExternalLink } from './all/External_link'; import { Filters } from './all/Filters'; import { Flag } from './all/Flag'; import { Forward } from './all/Forward'; import { GlobeFilled } from './all/Globe_filled'; import { Hide } from './all/Hide'; import { Home } from './all/Home'; import { Horizontal } from './all/Horizontal'; import { Image } from './all/Image'; import { Info } from './all/Info'; import { List } from './all/List'; import { Location } from './all/Location'; import { LocationFilled } from './all/Location_filled'; import { LockFilled } from './all/Lock_filled'; import { Logout } from './all/Logout'; import { MaintenanceFilled } from './all/Maintaince_filled'; import { Minus } from './all/Minus'; import { More } from './all/More'; import { Note } from './all/Note'; import { NoteFilled } from './all/Note_filled'; import { Plus } from './all/Plus'; import { ProfileFilled } from './all/Profile_filled'; import { Profiles } from './all/Profiles'; import { QuestionMark } from './all/Question_mark'; import { Remove } from './all/Remove'; import { Replace } from './all/Replace'; import { Reports } from './all/Reports'; import { Search } from './all/Search'; import { Send } from './all/Send'; import { Settings } from './all/Settings'; import { SettingsOutline } from './all/Settings_outline'; import { SettingsOutline2 } from './all/Settings_outline2'; import { Sort } from './all/Sort'; import { Support } from './all/Support'; import { Tag } from './all/Tag'; import { Ticket } from './all/Ticket'; import { Tools } from './all/Tools'; import { Upload } from './all/Upload'; import { Vertical } from './all/Vertical'; import { View } from './all/View'; import { Wallet } from './all/Wallet'; import { Percent } from './all/Percent'; import { Whistle } from './all/Whistle'; import { Baseball } from './sports/Baseball'; import { Vollyball } from './sports/Vollyball'; import { Tennis } from './sports/Tennis'; import { Soccer } from './sports/Soccer'; import { Basketball } from './sports/Basketball'; import { Activity as Activity_pos } from './pos/activity'; import { Apperal } from './pos/apparel'; import { Camp } from './pos/camp'; import { Class } from './pos/class'; import { Drink } from './pos/drink'; import { Equipment } from './pos/equipment'; import { Food } from './pos/food'; import { Beginner } from './levelOfPlay/beginner'; import { Advanced } from './levelOfPlay/advanced'; import { Intermediate } from './levelOfPlay/intermediate'; import { SemiPro } from './levelOfPlay/semiPro'; import { Activity as Activity_A } from './activities/activity'; import { Camps } from './activities/camps'; import { Classes } from './activities/classes'; import { Clinics } from './activities/clinics'; import { ClubTeams } from './activities/clubTeams'; import { Leagues } from './activities/leauges'; import { PrivateLessons } from './activities/privateLessons'; import { Tournaments } from './activities/tournaments'; export interface IconsProps {} const container = (colors: IColors) => css` margin: 10px; display: flex; justify-content: center; align-items: center; flex-direction: column; background: ${colors.bg_background_primary}; color: ${colors.tx_text_primary}; height: 80px; width: 140px; border-radius: 6px; label { margin-top: 8px; } `; const icon = css``; const IconsContainerCss = css` display: flex; flex-wrap: wrap; `; const IconBox = ({ i }: { i: Icons }) => { const colors = useTheme(); return (
); }; export const IconsContainer = () => { return (
{Object.keys(Icons) .sort() .map((i) => { return ; })}
); }; export const BnIcon = ({ icon, ...props }: any) => { return IconnifyNew(icon, props); }; function IconnifyNew(icon: string, props?: any) { switch (icon) { case 'activity': return ; case 'activity_w': return ; case 'add_ons': return ; case 'arrow_left': return ; case 'arrow_right': return ; case 'arrow_bottom': return ; case 'arrow_top': return ; case 'attach': return ; case 'bank': return ; case 'back': return ; case 'bell': return ; case 'bill_account': return ; case 'browse': return ; case 'calendar': return ; case 'cart': return ; case 'cash': return ; case 'check': return ; case 'check_p': return ; case 'clipboard': return ; case 'clock': return ; case 'close': return ; case 'collaps': return ; case 'collaps_all': return ; case 'conflict': return ; case 'copy': return ; case 'court': return ; case 'credit_card': return ; case 'dashboard': return ; case 'delete_filled': return ; case 'delete_outline': return ; case 'discount': return ; case 'dollar': return ; case 'download': return ; case 'drag': return ; case 'dropdown': return ; case 'dropdown_active': return ; case 'edit_filled': return ; case 'edit_outline': return ; case 'email': return ; case 'excel': return ; case 'exclamation_mark': return ; case 'expand': return ; case 'expand_all': return ; case 'external_link': return ; case 'filters': return ; case 'flag': return ; case 'forward': return ; case 'globe_filled': return ; case 'home': return ; case 'hide': return ; case 'horizontal': return ; case 'image': return ; case 'info': return ; case 'list': return ; case 'location': return ; case 'location_filled': return ; case 'lock_filled': return ; case 'logout': return ; case 'maintenance': return ; case 'minus': return ; case 'more': return ; case 'note': return ; case 'note_filled': return ; case 'plus': return ; case 'percent': return ; case 'profile_filled': return ; case 'profiles': return ; case 'question_mark': return ; case 'remove': return ; case 'replace': return ; case 'reports': return ; case 'whistle': return ; // case 'g_coord': // return < {...props}/> // case 'g_female': // return < {...props}/> // case 'g_male': // return < {...props}/> // case 'pm_amex': // return < {...props}/> // case 'pm_diners': // return < {...props}/> // case 'pm_mastercard': // return < {...props}/> // case 'pm_visa': // return < {...props}/> case 's_baseball': return ; case 's_basketball': return ; // case 's_hockey': // return < {...props}/> // case 's_skating': // return < {...props}/> case 's_soccer': return ; case 's_tennis': return ; case 's_vollyball': return ; case 'search': return ; case 'send': return ; case 'settings': return ; case 'settings_outline': return ; case 'settings_outline2': return ; case 'sort': return ; case 'support': return ; case 'tag': return ; case 'ticket': return ; case 'tools': return ; case 'upload': return ; case 'vartical': return ; case 'view': return ; case 'wallet': return ; case 'pos_food': return ; case 'pos_activity': return ; case 'pos_apparel': return ; case 'pos_camp': return ; case 'pos_class': return ; case 'pos_drink': return ; case 'pos_equipment': return ; case 'beginner': return ; case 'advanced': return ; case 'intermediate': return ; case 'semipro': return ; case 'act_activity': return ; case 'act_camps': return ; case 'act_classes': return ; case 'act_clinics': return ; case 'act_clubTeams': return ; case 'act_leagues': return ; case 'act_privateLessons': return ; case 'act_tournaments': return ; default: return
; } }