mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-17 03:58:57 +08:00
29 lines
580 B
TypeScript
29 lines
580 B
TypeScript
import { tailwindRunner, expectError } from "./runner";
|
|
|
|
const displayEmptyResults = [
|
|
"block",
|
|
"inline-block",
|
|
"inline",
|
|
"inline-flex",
|
|
"table",
|
|
"inline-table",
|
|
"table-caption",
|
|
"table-cell",
|
|
"table-column",
|
|
"table-column-group",
|
|
"table-footer-group",
|
|
"table-header-group",
|
|
"table-row-group ",
|
|
"table-row",
|
|
"flow-root",
|
|
"grid",
|
|
"inline-grid",
|
|
"contents",
|
|
"list-item",
|
|
];
|
|
|
|
tailwindRunner("Layout - Display", expectError(displayEmptyResults), [
|
|
["flex", { flex: [{ display: "flex" }] }],
|
|
["hidden", { hidden: [{ display: "none" }] }],
|
|
]);
|