Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update Listbox2.tsx (#21811)

Jonathan Summers-Muir831aefd72562
diff --git a/packages/ui/src/components/Alert/Alert.tsx b/packages/ui/src/components/Alert/Alert.tsx
index 09fef8b8bc1..540dbae0618 100644
--- a/packages/ui/src/components/Alert/Alert.tsx
+++ b/packages/ui/src/components/Alert/Alert.tsx
@@ -29,6 +29,9 @@ const icons: Record<AlertVariant, React.ReactElement> = {
neutral: <></>,
}
+/**
+ * @deprecated Use Alert_Shadcn_
+ */
export function Alert({
variant = 'neutral',
className,
diff --git a/packages/ui/src/components/Listbox/Listbox2.tsx b/packages/ui/src/components/Listbox/Listbox2.tsx
index 498c8fadab1..6960a563c74 100644
--- a/packages/ui/src/components/Listbox/Listbox2.tsx
+++ b/packages/ui/src/components/Listbox/Listbox2.tsx
@@ -35,6 +35,9 @@ export interface Props extends Omit<React.InputHTMLAttributes<HTMLButtonElement>
onChange?: (x: any) => void
}
+/**
+ * @deprecated The component should not be used
+ */
function Listbox({
children,
className,