@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
21 lines (20 loc) • 523 B
TypeScript
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';
import WFSerialization from '../interfaces/WF/WFSerialization';
/**
* @action Show Result
* @section Actions > Scripting >
* @icon Scripting
*
* Shows the specified text in Siri or in an alert.
*
* ```js
* showResult({
* text: 'Hello, world!',
* });
* ```
*/
declare const showResult: ({ text, }: {
/** The text to show in the dialogue */
text?: string | WFSerialization | undefined;
}) => WFWorkflowAction;
export default showResult;