@mui/icons-material APIs
- Close
- Add
- Delete
- ExpandMore
- Settings
- Check
- Update
- GitHub
- MoreVert
- HelpOutline
- ChevronRight
- ExpandLess
- Menu
- FileCopy
- CheckBox
- CheckBoxOutlineBlank
- ArrowBack
- DeleteForever
- Visibility
- VisibilityOff
- Save
- Person
- Edit
- People
- ChevronLeft
- PlayArrow
- Home
- ExitToApp
- MoreHoriz
- WbSunny
- Download
- Upload
- Search
- HighlightOffOutlined
- ContentCopy
- Calculate
- ShoppingCart
- AccountBalance
- BarChart
- Paid
- Clear
- Cancel
- ArrowDownward
- ArrowUpward
- PhotoCamera
- Folder
- InfoOutlined
- Code
- KeyboardArrowDown
- Lock
- LockOpen
- Replay
- Favorite
- Build
- Refresh
- AssignmentInd
- Pets
- Public
- Group
- Brush
- KeyboardTab
- Phone
- HelpOutlineOutlined
- NetworkWifi
- CompareArrows
- AdminPanelSettings
- BugReport
- Logout
- Message
- AddCircle
- LockOutlined
- HomeOutlined
- BarChartOutlined
- MusicNote
- MusicNoteOutlined
- Album
- AlbumOutlined
- PersonOutlined
- SettingsOutlined
- Share
- ShareOutlined
- FastRewind
- Help
- Loop
- VolumeDown
- VolumeUp
- PauseCircle
- PlayCircle
- VolumeOff
- ChatBubbleOutline
- LockRounded
- WifiOffRounded
- VideocamOutlined
- AddRounded
- MoreVertRounded
- SyncProblem
- VideoCallOutlined
- GetAppRounded
- SaveAlt
- ErrorRounded
- InsertDriveFileRounded
- CheckCircleOutline
- CloudOff
- ClearAll
- CloseOutlined
- Link
- AttachmentOutlined
- CodeOutlined
- MailOutlineRounded
- Brightness7Rounded
- MenuRounded
- NightsStayRounded
- ArrowForward
- BrushRounded
- VisibilityRounded
- FileCopyRounded
- FavoriteRounded
- DesktopMacRounded
- PhoneAndroidRounded
- TabletMac
- ThumbUpOutlined
- ThumbDownOutlined
- AssistantPhotoOutlined
- Publish
- Create
- WbCloudy
- Computer
- KeyboardArrowUp
- BusinessCenter
- FavoriteBorder
- Groups
- Shuffle
- Difference
- SwapHoriz
- Info
- KeyboardDoubleArrowDown
- KeyboardDoubleArrowUp
- PersonAdd
- Checkroom
- FactCheck
- ArrowRightAlt
- Scanner
- Brightness4
- Brightness7
- Translate
- Backpack
- SettingsBrightness
- Equalizer
- Handyman
- SentimentVerySatisfied
- SentimentDissatisfied
- SentimentSatisfied
- AccessTime
- Remove
- ArrowDropDown
- ArrowRight
- Undo
- Redo
- CreateNewFolder
- Description
- Outbox
- Inbox
- DriveFileRenameOutline
- ContentPaste
- Block
- Star
- StarBorder
- Security
- Today
- Event
- Login
- Sick
- FaceRetouchingOff
- Fireplace
- ErrorOutline
- Stop
- ViewList
- Send
- PlayCircleFilledWhite
- PlaylistAddCheck
- Telegram
- VerifiedUser
- Notifications
- MenuOpen
- GppGood
- ContactPhone
- Payment
- FolderShared
- Class
- Shield
- MoveUp
- VolunteerActivism
- DisplaySettings
- Apartment
- BusAlert
- Category
- FilterNone
- Forest
- MedicalServices
- School
- SportsTennis
- TheaterComedy
- ReportGmailerrorred
- ArrowCircleUp
- UploadFile
- YouTube
- Web
- AccountCircle
- AccessibilityNew
- Chat
- FolderOpen
- FileCopyOutlined
- KeyboardBackspace
- CheckCircleOutlined
- ReportProblemOutlined
- ManageAccounts
- PhotoLibrary
- SettingsBackupRestore
- SupervisorAccount
- Api
- FeaturedPlayList
- BugReportOutlined
- NewReleases
- ColorLens
- FolderOutlined
- Apps
- SpeakerNotes
- LocalCafe
- BurstModeSharp
- DevicesOther
- VideoLibrary
- AddOutlined
- DeleteOutlineOutlined
- EditOutlined
- MoreHorizOutlined
- Bookmarks
- CopyAll
- InsertComment
- KeyboardArrowRight
- FileDownload
- Done
- PendingOutlined
- HelpOutlineRounded
- ReportProblem
- HelpOutlined
Other Related APIs
@mui/icons-material#HighlightOffOutlined TypeScript Examples
The following examples show how to use
@mui/icons-material#HighlightOffOutlined.
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: ImagePicker.tsx From Cromwell with MIT License | 5 votes |
ImagePicker = (props: ImagePickerProps) => {
const [internalValue, setInternalValue] = useState<string | undefined>();
const value = (props.value !== undefined && props.value !== '') ? props.value : internalValue;
const pickImage = async () => {
const photoPath = await getFileManager()?.getPhoto({ initialFileLocation: value });
if (photoPath) {
setImage(photoPath);
}
}
const setImage = (val: string | undefined) => {
if (val === '') val = null;
props.onChange?.(val);
if (props.value === undefined)
setInternalValue(val);
}
const getDimension = (dimension: string | number) => dimension && (typeof dimension === 'number' ? dimension + 'px' : dimension);
const element = (
<div className={`${styles.wrapper} ${props.className ?? ''} ${props.classes?.root ?? ''} ${props.variant ?? ''}`}
style={{ ...(props.style ?? {}) }}>
<Tooltip title={props.toolTip ?? 'Pick an image'}>
<MenuItem
style={{
padding: '0',
width: getDimension(props.width),
minWidth: getDimension(props.width),
height: getDimension(props.height),
}}
className={styles.imageWrapper}>
<div className={`${styles.image} ${props.classes?.image}`}
onClick={pickImage}
style={{
backgroundImage: `url(${value})`,
backgroundSize: props.backgroundSize ?? 'cover',
width: getDimension(props.width),
minWidth: getDimension(props.width),
height: getDimension(props.height),
}}>
{!value && <AddPhotoAlternateOutlinedIcon
style={{
width: '65%',
height: '65%',
maxWidth: '30px',
maxHeight: '30px',
}}
/>}
</div>
</MenuItem>
</Tooltip>
{!props.hideSrc && (
<Tooltip title={props.toolTip ?? ''}>
<TextField
value={value ?? ''}
onChange={e => {
setImage(e.target.value);
}}
label={props.label}
fullWidth
variant={props.variant ?? "standard"}
/>
</Tooltip>
)}
{value && props.showRemove && (
<IconButton
className={styles.removeBtn}
onClick={(e) => { e.stopPropagation(); setImage(undefined); }}>
<HighlightOffOutlined />
</IconButton>
)}
</div>
);
return element;
}
Example #2
Source File: dialogConfirm.tsx From Search-Next with GNU General Public License v3.0 | 5 votes |
ErrorContent = () => {
return (
<>
<HighlightOffOutlined className="text-red-500 mr-1" />
</>
);
}