We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb4030 commit aed4c84Copy full SHA for aed4c84
src/styleHelpers/getSpacing.ts
@@ -1,7 +1,7 @@
1
import { PabloThemeableProps } from '../theme/types';
2
import { InterpolateFn } from './index';
3
4
-export function getSpacing(multiplier: number): InterpolateFn<string> {
+export function getSpacing(multiplier: number | string): InterpolateFn<string> {
5
return ({ theme }: PabloThemeableProps) => {
6
if (typeof multiplier === 'string') {
7
return multiplier;
0 commit comments