Skip to content

Commit aed4c84

Browse files
committed
fix: getSpacing input type
1 parent deb4030 commit aed4c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/styleHelpers/getSpacing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { PabloThemeableProps } from '../theme/types';
22
import { InterpolateFn } from './index';
33

4-
export function getSpacing(multiplier: number): InterpolateFn<string> {
4+
export function getSpacing(multiplier: number | string): InterpolateFn<string> {
55
return ({ theme }: PabloThemeableProps) => {
66
if (typeof multiplier === 'string') {
77
return multiplier;

0 commit comments

Comments
 (0)