UNPKG

intentful

Version:

Create Custom Skills with less headache

20 lines (19 loc) 415 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Gradient = void 0; class Gradient { constructor(type, props) { this.type = type; this.props = props; } toJSON() { return this.model(); } model() { return { type: this.type, ...this.componentSpecificModel() }; } } exports.Gradient = Gradient;