mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-13 09:24:47 +08:00
38 lines
693 B
TypeScript
38 lines
693 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,
|
|
}))
|
|
);
|