mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 00:06:15 -04:00
feat: added components
This commit is contained in:
parent
6e0c369398
commit
5fa81533d9
30 changed files with 2405 additions and 1853 deletions
|
@ -1,5 +1,5 @@
|
|||
function capitalise(s: string) {
|
||||
return s.charAt(0).toUpperCase() + s.slice(1)
|
||||
}
|
||||
const capitalise = (s: string) => s.charAt(0).toUpperCase() + s.slice(1)
|
||||
|
||||
export {capitalise}
|
||||
const shuffle = (s: string) => s.split('').sort(() => 0.5 - Math.random()).join('')
|
||||
|
||||
export {capitalise, shuffle}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue