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
19 lines
569 B
TypeScript
19 lines
569 B
TypeScript
import { BucketPlus } from 'icons'
|
|
import { Plus } from 'lucide-react'
|
|
import { Button } from 'ui'
|
|
import { EmptyStatePresentational } from 'ui-patterns/EmptyStatePresentational'
|
|
|
|
export default function EmptyStatePresentationalIcon() {
|
|
return (
|
|
<EmptyStatePresentational
|
|
icon={BucketPlus}
|
|
title="Create a vector bucket"
|
|
description="Store, index, and query your vector embeddings at scale."
|
|
>
|
|
<Button size="tiny" variant="primary" icon={<Plus size={14} />}>
|
|
Create bucket
|
|
</Button>
|
|
</EmptyStatePresentational>
|
|
)
|
|
}
|