import * as React from 'react' ; import { IPropertyFieldTeamPickerListItemProps } from './IPropertyFieldTeamPickerListItem' ; import { Checkbox } from 'office-ui-fabric-react/lib/Checkbox' ; import styles from './PropertyFieldTeamPickerListItem.module.scss' ; export const PropertyFieldTeamPickerListItem = ( props ) : JSX . Element => { const { team , checked } = props ; return ( < li className = { styles . teamListItem } key = { team . id } > < Checkbox className = { styles . checkbox } checked = { checked } onChange = { ( ev ? , nowChecked ? ) : void => props . handleCheckboxChange ( team , nowChecked ) } /> < span className = { styles . title } title = { team . title } > { team . title } < /span> < /li>); } ;