@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
24 lines • 565 B
JavaScript
;
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