Skip to content

Commit

Permalink
preset capitalize
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermeasn authored Nov 28, 2023
1 parent 30863e1 commit d43b0d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/presets.const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ const presets : { [key in PresetOption] : MaskProps } = {
],
patterns: { 'H': /[A-Fa-f0-9]/ },
transform: 'uppercase'
},

CAPITALIZE_ALL: {
masks: [ '.' ],
patterns: { '.': /./ },
infinity: true,
transform: 'capitalizaAll'
}

}
Expand Down

0 comments on commit d43b0d5

Please sign in to comment.