10 lines
194 B
JavaScript
10 lines
194 B
JavaScript
import { getPadding } from 'seemly';
|
|
export function rtlInset(inset) {
|
|
const {
|
|
left,
|
|
right,
|
|
top,
|
|
bottom
|
|
} = getPadding(inset);
|
|
return `${top} ${right} ${bottom} ${left}`;
|
|
} |