UNPKG

storybook

Version:

Storybook: Develop, document, and test UI components in isolation

13 lines (10 loc) 396 B
import { __name } from "./chunk-MM7DTO55.js"; // ../addons/docs/src/blocks/controls/helpers.ts var getControlId = /* @__PURE__ */ __name((value) => `control-${value.replace(/\s+/g, "-")}`, "getControlId"); var getControlSetterButtonId = /* @__PURE__ */ __name((value) => `set-${value.replace(/\s+/g, "-")}`, "getControlSetterButtonId"); export { getControlId, getControlSetterButtonId };