@fortawesome/free-solid-svg-icons#faUserEdit TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faUserEdit.
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: RoomIdHeader.tsx From longwave with MIT License | 6 votes |
function RoomMenu() {
const { t, i18n } = useTranslation();
const { setGameState, setPlayerName } = useContext(GameModelContext);
const menuItemProps = {
style: { margin: 8, cursor: "pointer" },
tabIndex: 0,
};
return (
<div>
<div
{...menuItemProps}
onClick={() => setGameState(InitialGameState(i18n.language))}
>
<FontAwesomeIcon icon={faUndo} /> {t("roomidheader.reset_room")}
</div>
<div {...menuItemProps} onClick={() => setPlayerName("")}>
<FontAwesomeIcon icon={faUserEdit} /> {t("roomidheader.change_name")}
</div>
</div>
);
}
Example #2
Source File: fontawesome-config.ts From covidnet_ui with GNU Affero General Public License v3.0 | 6 votes |
// Description: add icons to be used in the app as needed
// Some are solid and some are from regular svg (hollow icons)
library.add(
faSearch,
faSearchPlus,
faHome,
faSpinner,
faExclamationTriangle,
faTrash,
faTrashAlt,
faEdit,
faUser,
faUserEdit,
faUserPlus,
faUserTimes,
faUserMinus,
faKey,
faCheck,
faCheckCircle,
faCalendarDay,
faClock,
faCalendarAlt,
farUser,
faFileAlt
);
Example #3
Source File: employee-form.component.ts From employee-crud-api with MIT License | 5 votes |
icons = { faUserPlus, faUserEdit };