mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-15 04:12:54 -06:00
Commit latest design, styling & functionality
This commit is contained in:
@@ -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