10 lines
194 B
JavaScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
import { getPadding } from 'seemly';
export function rtlInset(inset) {
const {
left,
right,
top,
bottom
} = getPadding(inset);
return `${top} ${right} ${bottom} ${left}`;
}