add dropdown component
This commit is contained in:
1 parent
b9447997fe
commit
41b1bbd7d6
20 files changed
+575
-74
No files matched your search
@@ -26,10 +26,7 @@ function padStart(s, num, char) {
|
||||
if (nullOrEmpty(s) || isNaN(num) || num <= s.length) {
|
||||
return s;
|
||||
}
|
||||
if (char == null) {
|
||||
char = ' ';
|
||||
}
|
||||
return char.repeat(num - s.length);
|
||||
return (char ?? ' ').repeat(num - s.length);
|
||||
}
|
||||
|
||||
export {
|
||||
|
||||
Reference in new issue
Block a user