mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
* auth hooks and docs * third-party auth * remove unrelated changes * remove unrelated changes * docs tighten * docs tighten * Nit clean up --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
import { Plus } from 'lucide-react'
|
|
import { Button } from 'ui'
|
|
import { EmptyStatePresentational } from 'ui-patterns'
|
|
|
|
import {
|
|
PageSection,
|
|
PageSectionAside,
|
|
PageSectionContent,
|
|
PageSectionMeta,
|
|
PageSectionSummary,
|
|
PageSectionTitle,
|
|
} from 'ui-patterns/PageSection'
|
|
|
|
export default function EmptyStatePresentationalIcon() {
|
|
return (
|
|
<div className="w-full">
|
|
<PageSection>
|
|
<PageSectionMeta>
|
|
<PageSectionSummary>
|
|
<PageSectionTitle>Providers</PageSectionTitle>
|
|
</PageSectionSummary>
|
|
<PageSectionAside>
|
|
<Button size="tiny" type="primary" icon={<Plus size={14} />}>
|
|
Add provider
|
|
</Button>
|
|
</PageSectionAside>
|
|
</PageSectionMeta>
|
|
<PageSectionContent>
|
|
<EmptyStatePresentational
|
|
title="Add a provider"
|
|
description="Use third-party authentication systems to access your project."
|
|
>
|
|
<Button size="tiny" type="default" icon={<Plus size={14} />}>
|
|
Add provider
|
|
</Button>
|
|
</EmptyStatePresentational>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
</div>
|
|
)
|
|
}
|