Skip to content

Instantly share code, notes, and snippets.

View Abdillahzakkie's full-sized avatar
💭
Self Employed

Abdullah Zakariyya Abdillahzakkie

💭
Self Employed
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0 ^0.8.30 ^0.8.4;
// lib/creator-token-standards/lib/PermitC/src/Constants.sol
/// @dev Constant bytes32 value of 0x000...000
bytes32 constant ZERO_BYTES32 = bytes32(0);
/// @dev Constant value of 0
uint256 constant ZERO = 0;
@Abdillahzakkie
Abdillahzakkie / Show.tsx
Last active March 13, 2024 12:32
React Show JSSX component
import React, { Children, ReactNode } from "react";
interface ShowProps {
children: ReactNode;
}
interface ShowChildProps {
when?: boolean;
}