feat(formatter): add lowercase to text transformers (#1259)
This commit is contained in:
@@ -5,6 +5,7 @@ import markdownToHtml from './options/markdown-to-html';
|
||||
import useDefaultValue from './options/use-default-value';
|
||||
import extractEmailAddress from './options/extract-email-address';
|
||||
import extractNumber from './options/extract-number';
|
||||
import lowercase from './options/lowercase';
|
||||
|
||||
const options: IJSONObject = {
|
||||
capitalize,
|
||||
@@ -13,6 +14,7 @@ const options: IJSONObject = {
|
||||
useDefaultValue,
|
||||
extractEmailAddress,
|
||||
extractNumber,
|
||||
lowercase,
|
||||
};
|
||||
|
||||
export default {
|
||||
|
@@ -0,0 +1,12 @@
|
||||
const lowercase = [
|
||||
{
|
||||
label: 'Input',
|
||||
key: 'input',
|
||||
type: 'string' as const,
|
||||
required: true,
|
||||
description: 'Text that will be lowercased.',
|
||||
variables: true,
|
||||
},
|
||||
];
|
||||
|
||||
export default lowercase;
|
Reference in New Issue
Block a user