stone-kit
Version:
uikit for redesign
39 lines (38 loc) • 953 B
JavaScript
import { jsx as o, jsxs as r } from "react/jsx-runtime";
import { NewIcon as t, iconTypes as l } from "../../../../components/NewIcon/ui/NewIcon.js";
const n = {
title: "shared/ui/NewIcon",
component: t,
parameters: {
layout: "centered"
},
tags: ["autodocs"],
argTypes: {
name: {
control: {
type: "select",
options: Object.keys(l)
}
},
size: {
control: "text"
},
color: {
control: "color"
}
}
}, a = {
args: {
name: "loader"
}
}, p = {
render: () => /* @__PURE__ */ o("div", { style: { display: "flex", flexWrap: "wrap", gap: "16px" }, children: Object.keys(l).map((e) => /* @__PURE__ */ r("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", gap: "8px" }, children: [
/* @__PURE__ */ o(t, { name: e }),
/* @__PURE__ */ o("span", { children: e })
] }, e)) })
};
export {
p as AllIcons,
a as Default,
n as default
};