mirror of
https://github.com/Xevion/rdap.git
synced 2026-02-01 00:25:25 -06:00
Commit latest design, styling & functionality
This commit is contained in:
+5
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user