I hereby claim:
- I am biirus on github.
- I am biirus (https://keybase.io/biirus) on keybase.
- I have a public key ASBj1J5KvYi8R_22RdoyEhcAV3eMffwvjAzimL9n4bMK3wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const sanitize = (rules, values) => { | |
return Object.keys(values).reduce( | |
(values, field) => { | |
const fieldRules = rules[field]; | |
if (fieldRules) { | |
values[field] = fieldRules.reduce((val, fn) => fn(val), values[field]); | |
} | |
return values; |
SC.loadImages = (() => { | |
function loadImages(urls) { | |
let abort; | |
let isAborted = false; | |
const startTime = Date.now(); | |
const imagesPromise = new Promise((resolve, reject) => { | |
let tasks = []; |
import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/react/24/solid' | |
import clsxm from 'lib/clsxm' | |
import { FC, HTMLAttributes } from 'react' | |
type ArrowProps = { | |
disabled?: boolean | |
} & HTMLAttributes<HTMLDivElement> | |
const ArrowButton: FC<ArrowProps> = ({ disabled, className, children }) => { | |
return ( |