import React from 'react' import { Colors } from '@monorail/helpers/color' import { FontSizes, FontWeights } from '@monorail/helpers/exports' import { HyperLink } from '@monorail/visualComponents/hyperLink/HyperLink' import { IconType } from '@monorail/visualComponents/icon/IconType' import { Tile } from '@monorail/visualComponents/tile/Tile' import { TileStatus } from '@monorail/visualComponents/tile/TileStatus' import { Text } from '@monorail/visualComponents/typography/Text' export const SlotTypeIcon: Record = { workrole: 'person', subteam: 'device_hub', } export const TileAsIndividual = props => { const { member, workRole, teamSlot, readiness = TileStatus.Unassigned, } = props return ( {}, }, { label: 'Change Work Role', onClick: () => {}, }, { label: 'Unassign', onClick: () => {}, }, ] } > {member.to ? ( {member.name} ) : ( {member.name} )} {workRole && ( <> {!teamSlot && ( {workRole.name} )} {workRole.proficiency} )} ) }