-
Notifications
You must be signed in to change notification settings - Fork 0
package shared compose
GitHub Actions edited this page Sep 22, 2026
·
1 revision
Import: import { emailFrom, telFrom, urlFrom } from "@tundralibs/ui/shared/compose"
emailFrom(body: Body, name = …: string): string | undefinedlocal + @ + domain.
telFrom(body: Body, name = …: string): string | undefined+code + + number, digits only in the number part apart from one leading + in the code.
urlFrom(body: Body, name = …: string): string | undefinedscheme + rest, unless the rest already has a scheme.
Guides
Reference