@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 527 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @action Show Result
* @section Actions > Scripting >
* @icon Scripting
*
* Shows the specified text in Siri or in an alert.
*
* ```js
* showResult({
* text: 'Hello, world!',
* });
* ```
*/
const showResult = ({ text = '', }) => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.showresult',
WFWorkflowActionParameters: {
Text: text,
},
});
exports.default = showResult;
//# sourceMappingURL=showResult.js.map