UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

11 lines (8 loc) 366 B
'use client'; 'use strict'; function isPrimitiveSize(size) { const isBaseSize = typeof size === "object" && size !== null && typeof size.base !== "undefined" && Object.keys(size).length === 1; return typeof size === "number" || typeof size === "string" || isBaseSize; } exports.isPrimitiveSize = isPrimitiveSize; //# sourceMappingURL=is-primitive-size.cjs.map