mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## Problem We now export components under a subpath in ui-patterns to avoid barrel files as they slow down every tools (from IDE to linters, etc.) and may also affect bundles our users have to download. ## Solution - Remove the UI patterns index file - Fix invalid impors
17 lines
525 B
TypeScript
17 lines
525 B
TypeScript
import { Plus } from 'lucide-react'
|
|
import { Button } from 'ui'
|
|
import { EmptyStatePresentational } from 'ui-patterns/EmptyStatePresentational'
|
|
|
|
export default function EmptyStatePresentationalIcon() {
|
|
return (
|
|
<EmptyStatePresentational
|
|
title="Create an auth hook"
|
|
description="Use Postgres functions or HTTP endpoints to customize your authentication flow."
|
|
>
|
|
<Button size="tiny" variant="primary" icon={<Plus size={14} />}>
|
|
Add hook
|
|
</Button>
|
|
</EmptyStatePresentational>
|
|
)
|
|
}
|