export function processSize(size: number | string) { return !/^\d+$/.test(size as string) ? size : `${size}px`; } export function noop() {}