diff --git a/dist/preview/utils/kind.js b/dist/preview/utils/kind.js index 288efaf..8abaeaa 100644 --- a/dist/preview/utils/kind.js +++ b/dist/preview/utils/kind.js @@ -22,6 +22,7 @@ var Kind = function () { key: "addDecorator", value: function addDecorator(decorator) { this._decorators.push(decorator); + return this; } }, { key: "add", diff --git a/src/preview/utils/kind.js b/src/preview/utils/kind.js index d073512..d721821 100644 --- a/src/preview/utils/kind.js +++ b/src/preview/utils/kind.js @@ -8,6 +8,7 @@ export default class Kind { addDecorator(decorator) { this._decorators.push(decorator); + return this; } add(story, fn) {