tenants2 icon indicating copy to clipboard operation
tenants2 copied to clipboard

Consider moving the LocalizedOutboundLink component to a separate npm package

Open toolness opened this issue 3 years ago • 0 comments

Reviewing https://github.com/JustFixNYC/who-owns-what/pull/443 made me realize that there's a need for this handy component (see e.g. #1545 for some explanation of its usefulness) in our other codebases. It might be nice to have it be a package in our justfix-ts monorepo so they can use it.

The main wrinkle is figuring out what to do with its use of SupportedLocale, since each project will have its own concept of a supported locale. We could add it as a parameter to a generic type but that could make things really complicated, too.

toolness avatar Mar 30 '21 21:03 toolness