UNPKG

@joshfarrant/shortcuts-js

Version:
21 lines (20 loc) 523 B
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;