mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-17 03:58:57 +08:00
37 lines
715 B
TypeScript
37 lines
715 B
TypeScript
import { createTests, tailwindRunner, spacing } from "./runner";
|
|
|
|
tailwindRunner("Layout - Top Right Bottom Left", [
|
|
...createTests("p", spacing, (n) => ({
|
|
paddingBottom: n,
|
|
paddingLeft: n,
|
|
paddingRight: n,
|
|
paddingTop: n,
|
|
})),
|
|
|
|
...createTests("px", spacing, (n) => ({
|
|
paddingLeft: n,
|
|
paddingRight: n,
|
|
})),
|
|
|
|
...createTests("py", spacing, (n) => ({
|
|
paddingTop: n,
|
|
paddingBottom: n,
|
|
})),
|
|
|
|
...createTests("pt", spacing, (n) => ({
|
|
paddingTop: n,
|
|
})),
|
|
|
|
...createTests("pr", spacing, (n) => ({
|
|
paddingRight: n,
|
|
})),
|
|
|
|
...createTests("pb", spacing, (n) => ({
|
|
paddingBottom: n,
|
|
})),
|
|
|
|
...createTests("pl", spacing, (n) => ({
|
|
paddingLeft: n,
|
|
})),
|
|
]);
|