mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
* feat(docs), refactor(docs,studio): add regions list to docs Adds list of supported AWS regions to docs. Pulls the region information into `shared-data` package to provide common source of truth for dashboard and docs. * style: format
15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import { AWS_REGIONS } from 'shared-data'
|
|
|
|
export function RegionsList() {
|
|
return (
|
|
<ul>
|
|
{Object.keys(AWS_REGIONS).map((region) => (
|
|
<li key={region} className="flex flex-col gap-2">
|
|
<span className="w-fit !mt-0">{AWS_REGIONS[region].displayName}</span>
|
|
<code className="w-fit">{AWS_REGIONS[region].code}</code>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
)
|
|
}
|