10 lines
194 B
JavaScript
Raw Normal View History

2025-02-28 19:43:11 +08:00
import { getPadding } from 'seemly';
export function rtlInset(inset) {
const {
left,
right,
top,
bottom
} = getPadding(inset);
return `${top} ${right} ${bottom} ${left}`;
}