Files
supabase/apps/studio/components/ui/Resource/ResourceList.tsx
T
Joshen LimandSaxon Fletcher 32a042379e Auth Settings IA Update - Sign In / Up (#33579)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* Smol CSS tweak

---------

Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>
2025-02-21 16:09:50 +08:00

20 lines
483 B
TypeScript

import { forwardRef, HTMLAttributes, ReactNode } from 'react'
import { Card } from 'ui'
export interface ResourceListProps extends HTMLAttributes<HTMLDivElement> {
children?: ReactNode
}
export const ResourceList = forwardRef<HTMLDivElement, ResourceListProps>(
({ children, className, ...props }, ref) => {
return (
<Card ref={ref} {...props}>
<div className={className}>{children}</div>
</Card>
)
}
)
ResourceList.displayName = 'ResourceList'