UNPKG

@joshfarrant/shortcuts-js

Version:
19 lines (18 loc) 681 B
import WFSerialization from '../interfaces/WF/WFSerialization'; import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction'; /** * @action Change Case * @section Content Types > Text > Change Case * @icon Text * * Changes the case of the text passed into the action to UPPERCASE, lowercase or Title Case. * * ```js * changeCase({}); * ``` */ declare const changeCase: ({ caseType, }: { /** The particular casing format. */ caseType?: WFSerialization | "lowercase" | "Capitalize Every Word" | "Capitalize with Title Case" | "Capitalize with sentence case." | "cApItAlIzE wItH aLtErNaTiNg CaSe." | undefined; }) => WFWorkflowAction; export default changeCase;