react-icons/md#MdWebAsset JavaScript Examples

The following examples show how to use react-icons/md#MdWebAsset. 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: UnlockedFooter.js    From rahat-vendor with GNU Affero General Public License v3.0 5 votes vote down vote up
export default function UnlockedFooter() {
	const { setActiveSheet } = useContext(ActionSheetContext);
	//const [showChargeAction, setShowChargeAction] = useState(false);

	//const handleChargeActionToggle = () => setShowChargeAction(!showChargeAction);

	return (
		<>
			<ChargeActionSheet />

			<div className="footer-unlocked">
				<div className="appBottomMenu">
					<Link to="/assets" className="item">
						<div className="col">
							<MdWebAsset className="ion-icon" />
							<strong>Assets</strong>
						</div>
					</Link>
					<a
						href="#home"
						className="item"
						onClick={() => {
							if (isOffline()) return;
							setActiveSheet('qrcode-reader');
						}}
					>
						<div className="col">
							<div className="action-button large">
								<GiReceiveMoney className="ion-icon" />
							</div>
						</div>
					</a>
					<Link to="/settings" className="item">
						<div className="col">
							{useIcon('IoPersonOutline')}
							<strong>Profile</strong>
						</div>
					</Link>
				</div>
			</div>
		</>
	);
}