UNPKG

@storybook/addon-docs

Version:

Document component usage and properties in Markdown

11 lines (9 loc) 213 B
export var str = function str(obj) { if (!obj) { return ''; } if (typeof obj === 'string') { return obj; } throw new Error("Description: expected string, got: ".concat(JSON.stringify(obj))); };