@fortawesome/free-solid-svg-icons APIs
- faTimes
- faCheck
- faTrash
- faCog
- faInfoCircle
- faPlus
- faSearch
- faSpinner
- faArrowLeft
- faCopy
- faChevronDown
- faExclamationTriangle
- faUser
- faEdit
- faBars
- faHome
- faCheckCircle
- faExclamationCircle
- faQuestionCircle
- faPlay
- faTrashAlt
- faArrowRight
- faChevronRight
- faChevronUp
- fas
- faEye
- faSignOutAlt
- faLink
- faPen
- faSync
- faEyeSlash
- faStar
- faChevronLeft
- faLock
- faDownload
- faCaretDown
- faClock
- IconDefinition
- faEllipsisV
- faHeart
- faCode
- faAngleDown
- faTimesCircle
- faGlobe
- faFilter
- faSave
- faBell
- faList
- faSortDown
- faSortUp
- faUsers
- faArrowDown
- faArrowUp
- faPause
- faUndo
- faMoon
- faWindowMaximize
- faSyncAlt
- faExternalLinkAlt
- faAngleUp
- faAngleLeft
- faUpload
- faClipboard
- faBook
- faComments
- faSquare
- faCheckDouble
- faPlusCircle
- faComment
- faRandom
- faStop
- faFolderPlus
- faCamera
- faBan
- faEnvelope
- faGavel
- faPalette
- faPlane
- faTasks
- faPencilAlt
- faExchangeAlt
- faMapMarkerAlt
- faAngleRight
- faSun
- faMicrophone
- faMicrophoneSlash
- faVideo
- faVideoSlash
- faFile
- faLanguage
- faCogs
- faUserEdit
- faUserPlus
- faMinus
- faFolderOpen
- faCircleNotch
- faUserAlt
- faCodeBranch
- faCube
- faLaptopCode
- faMap
- faChartArea
- faHistory
- faShare
- faCloudDownloadAlt
- faFileUpload
- faCalendarAlt
- faLightbulb
- faPaperPlane
- faPaintBrush
- faExclamation
- faAnchor
- faBomb
- faMusic
- faCompress
- faExpand
- faRegistered
- faWifi
- faDrawPolygon
- faPhone
- faCommentDots
- faVolumeUp
- faCaretUp
- faBug
- faUserCircle
- faWallet
- faFileContract
- faTag
- faSearchPlus
- faSort
- faKey
- faVolumeMute
- faPowerOff
- faBolt
- faRedoAlt
- faSortAmountDown
- faCloudUploadAlt
- faShapes
- faSortAmountUp
- faTools
- faFileCode
- faRedo
- faAlignLeft
- faUserFriends
- faBookOpen
- faChartBar
- faFileExport
- faFileImport
- faSadCry
- faRocket
- faLinkSlash
- faTh
- faLongArrowAltRight
- faTags
- faDog
- faTv
- faCartPlus
- faMicrochip
- faNetworkWired
- faCommentSlash
- faAddressBook
- faCalendar
- faToggleOff
- faToggleOn
- faUserClock
- faHourglass
- faQuestion
- faStamp
- faAddressCard
- faPoo
- faAppleAlt
- faBible
- faBone
- faCar
- faCat
- faChess
- faSkull
- faFeatherAlt
- faFire
- faWindowMinimize
- faReplyAll
- faSignInAlt
- faBold
- faItalic
- faUnderline
- faHeading
- faQuoteRight
- faListOl
- faListUl
- faLevelDownAlt
- faLevelUpAlt
- faUndoAlt
- faPlug
- faBullhorn
- faPlaneDeparture
- faSimCard
- faBrush
- faAngleDoubleDown
- faCoins
- faCompressArrowsAlt
- faDiceD6
- faNewspaper
- faMinimize
- faUpRightFromSquare
- faCubes
- faRetweet
- faHandPeace
- faSpaceShuttle
- faXmark
- faFileAudio
- faStopwatch
- faDragon
- faSortNumericDown
- faSortNumericDownAlt
- faArrowUpRightFromSquare
- faArrowDown19
- faArrowDown91
- faHashtag
- faRepeat
- faLaptop
- faCloud
- faPiggyBank
- faRunning
- faBiking
- faBicycle
- faShareAlt
- faRuler
- faVial
- faUserTimes
- faUserMinus
- faCalendarDay
- faStepBackward
- faStepForward
- faDotCircle
- faUserLock
- faUserCog
- faTrophy
- faShareSquare
- faHandPointRight
- faChartLine
- faUserShield
- faCheckSquare
- faSortAmountDownAlt
- faIdCard
- faUserSlash
- faCalculator
- faEllipsisH
- faRulerCombined
- faSoap
- faMousePointer
- faHandRock
- faDroplet
- faThumbtack
- faReply
- faLayerGroup
- faMask
- faWindowRestore
- faThLarge
- faDesktop
- faInfo
- faHandsHelping
- faKeyboard
- faChartPie
- faColumns
- faTable
- faTachometerAlt
- faClipboardList
- faHammer
- faLockOpen
- faCity
- faChessRook
- faMountain
- faCampground
- faUniversity
- faCrosshairs
- faWrench
- faArrowCircleLeft
- faIdCardAlt
- faCreditCard
- faDollarSign
- faIdBadge
- faSlidersH
- faEuroSign
- faPoundSign
- faSearchDollar
- faPlayCircle
- faStream
- faFilm
- faSmile
- faPhoneAlt
- faArrowsAltV
- faUserAltSlash
- faLongArrowAltLeft
- faHdd
- faUnlink
- faInbox
- faMagic
- faImage
- faCalendarCheck
- faUserCheck
- faFolder
- faThermometerEmpty
- faCut
- faPaste
- faCircle
- faMobile
- faClipboardCheck
- faSortAlphaUp
- faSortAlphaDown
- faRss
- faPaw
Other Related APIs
- @fortawesome/free-solid-svg-icons#faArrowRight
- @fortawesome/free-solid-svg-icons#faBell
- @fortawesome/free-solid-svg-icons#faCheck
- @fortawesome/free-solid-svg-icons#faCheckCircle
- @fortawesome/free-solid-svg-icons#faChevronDown
- @fortawesome/free-solid-svg-icons#faCodeBranch
- @fortawesome/free-solid-svg-icons#faCube
- @fortawesome/free-solid-svg-icons#faEllipsisV
- @fortawesome/free-solid-svg-icons#faExclamationCircle
- @fortawesome/free-solid-svg-icons#faHeart
- @fortawesome/free-solid-svg-icons#faLaptopCode
- @fortawesome/free-solid-svg-icons#faList
- @fortawesome/free-solid-svg-icons#faMap
- @fortawesome/free-solid-svg-icons#faMicrochip
- @fortawesome/free-solid-svg-icons#faNetworkWired
- @fortawesome/free-solid-svg-icons#faPlusCircle
- @fortawesome/free-solid-svg-icons#faSortDown
- @fortawesome/free-solid-svg-icons#faSortUp
- @fortawesome/free-solid-svg-icons#faSync
- @fortawesome/free-solid-svg-icons#faTimes
- @fortawesome/fontawesome-svg-core#library
@fortawesome/free-solid-svg-icons#faCheckDouble TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faCheckDouble.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: form-submit.tsx From example with MIT License | 6 votes |
export function FormSubmit({ form, icon, label, state, disabled }: IFormSubmitProps) {
const { formState: { errors, isSubmitting, isValidating } } = form
const isValid = size(errors) === 0
let color
let iconEl
if (!isValid) {
color = "warning"
iconEl = <Icon icon={faExclamationTriangle}/>
} else {
switch (state) {
case "error":
color = "error"
iconEl = <Icon icon={faExclamationTriangle}/>
break
case "success":
color = "success"
iconEl = <Icon icon={faCheckDouble}/>
break
case "normal":
default:
color = "primary"
iconEl = <Icon icon={icon ?? faCheck}/>
}
}
return <LoadingButton
type="submit"
loading={isSubmitting || isValidating}
loadingPosition="start"
startIcon={iconEl}
color={color as any}
variant="contained"
disabled={disabled}
>
{label}
</LoadingButton>
}
Example #2
Source File: transaction-info.tsx From example with MIT License | 6 votes |
export function TransactionPending({ transaction }: ITransactionInfoProps) {
const [state, setState] = useState<"resolve" | "reject" | "pending">("pending")
useEffect( () => {
transaction.wait()
.then(() => setState("resolve"))
.catch(() => setState("reject"))
}, [transaction])
return <Box sx={{ my: 1 }}>
<>
{ state === "pending" && <><CircularProgress size={14}/> Processing</> }
{ state === "resolve" && <Chip
label="Confirmed"
icon={<Icon icon={faCheckDouble}/>}
variant="outlined"
color="success"
size="small"
/> }
{ state === "reject" && <Chip
label="Rejected"
icon={<Icon icon={faTimes}/>}
variant="outlined"
color="error"
size="small"
/> }
</>
</Box>
}
Example #3
Source File: transaction-info.tsx From sdk with MIT License | 6 votes |
export function TransactionPending({ transaction }: ITransactionInfoProps) {
const [state, setState] = useState<"resolve" | "reject" | "pending">("pending")
useEffect( () => {
transaction.wait()
.then(() => setState("resolve"))
.catch(() => setState("reject"))
}, [transaction])
return <Box sx={{ my: 1 }}>
<>
{ state === "pending" && <><CircularProgress size={14}/> Processing</> }
{ state === "resolve" && <Chip
label="Confirmed"
icon={<Icon icon={faCheckDouble}/>}
variant="outlined"
color="success"
size="small"
/> }
{ state === "reject" && <Chip
label="Rejected"
icon={<Icon icon={faTimes}/>}
variant="outlined"
color="error"
size="small"
/> }
</>
</Box>
}
Example #4
Source File: fa-library.ts From eth2stats-dashboard with MIT License | 5 votes |
library.add(faBell, faChevronDown, faTimes, faArrowRight, faCheck, faPlusCircle, faExclamationCircle, faHeart, faCodeBranch, faMap, faList, faCircle, faDotCircle, faCheckCircle, faNetworkWired, faUsers, faCube, faSortUp, faSortDown, faEllipsisV, faSync, faMicrochip, faCheckDouble, faLaptopCode);