react-icons/ai APIs
- AiFillLinkedin
- AiOutlineMail
- AiFillGithub
- AiFillInstagram
- AiOutlineRight
- AiOutlineLeft
- AiOutlineInfoCircle
- AiFillPhone
- AiOutlineClose
- AiOutlineFullscreenExit
- AiFillSafetyCertificate
- AiOutlineSearch
- AiOutlineCheck
- AiOutlineSend
- AiOutlineCheckCircle
- AiOutlineLike
- AiFillTwitterCircle
- AiFillPlusCircle
- AiOutlinePlus
- AiFillCloseCircle
- AiOutlineFullscreen
- AiFillHome
- AiFillStar
- AiFillEye
- AiOutlineShareAlt
- AiOutlineDoubleLeft
- AiOutlineHeart
- AiFillHeart
- AiOutlineReload
- AiFillFire
- AiFillCaretDown
- AiFillCaretRight
- AiOutlineDash
- AiOutlineSmallDash
- AiOutlineLine
- AiOutlineArrowUp
- AiOutlineLinkedin
- AiOutlineGithub
- AiFillClockCircle
- AiOutlineDoubleRight
- AiOutlineSortAscending
- AiOutlineSortDescending
- AiFillQuestionCircle
- AiOutlineArrowLeft
- AiOutlineArrowRight
- AiFillFacebook
- AiOutlineTwitter
- AiOutlineWhatsApp
- AiFillCopy
- AiOutlineExclamationCircle
- AiFillMinusCircle
- AiOutlineLogout
- AiOutlineHistory
- AiTwotoneFlag
- AiOutlineUsergroupAdd
- AiFillMedicineBox
- AiOutlineStar
- AiFillCode
- AiOutlineLock
- AiOutlineDelete
- AiOutlineEdit
- AiFillSetting
- AiFillCalendar
- AiOutlineLoading
- AiOutlineRedo
- AiOutlineLogin
- AiOutlineAppstore
- AiOutlineSmile
- AiOutlineTeam
- AiOutlineSafetyCertificate
- AiOutlineLink
- AiOutlineUser
- AiOutlineFolder
- AiOutlineCalendar
- AiOutlineHome
- AiOutlinePicture
- AiFillFlag
- AiTwotoneHeart
- AiOutlineMenu
- AiFillBug
- AiFillPlayCircle
- AiFillYoutube
- AiOutlinePieChart
- AiOutlineClear
- AiOutlineWarning
OtherRelated APIs
react-icons/ai#AiFillBug JavaScript Examples
The following examples show how to use
react-icons/ai#AiFillBug.
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: AppErrorBoundary.js From hackertab.dev with Apache License 2.0 | 6 votes |
export default function AppErrorBoundary({ children }) {
function ErrorFallback({ error, resetErrorBoundary }) {
return (
<div className="Page appError">
<AiFillBug size={64} />
<p>Sorry there was a problem loading this page.</p>
<p>{error}</p>
<button onClick={resetErrorBoundary}>
<WiRefresh size={32} className={'buttonIcon'} /> Try again
</button>
</div>
)
}
const errorHandler = (error, info) => {
trackException(error, true)
}
return (
<ErrorBoundary FallbackComponent={ErrorFallback} onError={errorHandler}>
{children}
</ErrorBoundary>
)
}