@tokens-studio/graph-engine
Version:
An execution engine to handle Token Studios generators and resolvers
14 lines • 457 B
JavaScript
import { ColorSchema } from '../../schemas/index.js';
import { Node } from '../../programmatic/node.js';
export default class NodeDefinition extends Node {
static title = 'Color Swatch';
static type = 'studio.tokens.preview.swatch';
static description = 'Previews a color swatch';
constructor(props) {
super(props);
this.addInput('value', {
type: ColorSchema
});
}
}
//# sourceMappingURL=swatch.js.map