Files
supabase/apps/docs/components/RegionsList.tsx
T
Charis 5cd8384bca feat(docs), refactor(docs,studio): add regions list to docs (#28125)
* 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
2024-07-23 12:45:44 -04:00

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>
)
}