@useloops/design-system
Version:
The official React based Loops design system
9 lines (6 loc) • 348 B
TypeScript
import { Theme } from '@mui/material';
type SurfaceVariation = 'default' | 'sunken' | 'raised' | 'overlay' | 'float';
type BorderRadius = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
declare const getBorderRadius: (theme: Theme, size: BorderRadius | undefined) => number | string;
export { getBorderRadius };
export type { BorderRadius, SurfaceVariation };