@teamsparta/stack-custom-modal
Version:
stack custom modal
31 lines (29 loc) • 802 B
JavaScript
// src/stories/_shared/data.tsx
import { Flex } from "@teamsparta/stack-flex";
import { Text } from "@teamsparta/stack-text";
import { vars } from "@teamsparta/stack-tokens";
import { jsx } from "@emotion/react/jsx-runtime";
var SCROLL_SAMPLE_ITEMS = Array.from(
{ length: 20 },
(_, i) => `\uC2A4\uD06C\uB864 \uD14C\uC2A4\uD2B8 \uC544\uC774\uD15C ${i + 1}`
);
function SampleItemCard({ label }) {
return /* @__PURE__ */ jsx(
Flex.Column,
{
fullWidth: true,
align: "center",
justify: "center",
style: {
height: "60px",
backgroundColor: vars.neutral[10],
borderRadius: 8
},
children: /* @__PURE__ */ jsx(Text, { as: "span", font: "bodyCompact", children: label })
}
);
}
export {
SCROLL_SAMPLE_ITEMS,
SampleItemCard
};