mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
* 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>
20 lines
483 B
TypeScript
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'
|