UNPKG

storybook

Version:

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

8 lines (6 loc) 251 B
// ../addons/docs/src/blocks/controls/helpers.ts var getControlId = (value) => `control-${value.replace(/\s+/g, "-")}`, getControlSetterButtonId = (value) => `set-${value.replace(/\s+/g, "-")}`; export { getControlId, getControlSetterButtonId };