mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 13:49:09 +03:00
update
This commit is contained in:
1 parent
729e6d778d
commit
87e8bc6282
2 files changed
+7
-2
No files matched your search
@@ -26,10 +26,13 @@ const AccordionContext = createContext<ContextValue>({
|
||||
export interface AccordionProps {
|
||||
children?: React.ReactNode
|
||||
className?: string
|
||||
|
||||
defaultActiveId?: (string | number)[]
|
||||
icon?: React.ReactNode
|
||||
iconPosition?: Align
|
||||
onChange?: (item: string | string[]) => void
|
||||
openBehaviour: 'single' | 'multiple'
|
||||
type?: Type
|
||||
size?: Size
|
||||
defaultValue?: string | string[] | undefined
|
||||
justified?: Boolean
|
||||
chevronAlign?: Align
|
||||
@@ -71,6 +74,8 @@ function Accordion({
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* //
|
||||
@ts-expect-error */}
|
||||
<RadixAccordion.Root
|
||||
type={openBehaviour}
|
||||
onValueChange={handleOnChange}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
|
||||
import Alert, { AlertProps } from '../shadcn/updated/Alert/Alert'
|
||||
import Alert, { AlertProps } from './Alert'
|
||||
|
||||
export default {
|
||||
title: 'Displays/Alerts',
|
||||
|
||||
Reference in new issue
Block a user