Commit latest design, styling & functionality

This commit is contained in:
2023-05-23 20:00:16 -05:00
parent 8da615a8c1
commit ece0ffc7a0
6 changed files with 147 additions and 142 deletions

View File

@@ -36,4 +36,8 @@ export function truncated(input: string, maxLength: number, ellipsis = "...") {
*/
export function classNames(...classes: (string | null | undefined)[]) {
return classes.filter(Boolean).join(" ");
}
}
export function preventDefault(event: SyntheticEvent | Event) {
event.preventDefault();
}