UNPKG

@joshfarrant/shortcuts-js

Version:
24 lines 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Text * @section Content Types > Text > * @icon Text * * Passes the specified text to the next action. * * ```js * text({ * text: 'Some lovely text!', * }); * ``` */ const text = ({ text = '', }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.gettext', WFWorkflowActionParameters: { WFTextActionText: text, }, }); exports.default = utils_1.withActionOutput(text); //# sourceMappingURL=text.js.map