mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
* system * nit * docs and fixes * more resilient component * remove redundant text * format * nit * PRettier --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
33 lines
928 B
TypeScript
33 lines
928 B
TypeScript
import { Card, CardContent } from 'ui'
|
|
import {
|
|
PageSection,
|
|
PageSectionContent,
|
|
PageSectionMeta,
|
|
PageSectionSummary,
|
|
PageSectionTitle,
|
|
} from 'ui-patterns/PageSection'
|
|
|
|
export default function PageSectionTitleOnly() {
|
|
return (
|
|
<div className="w-full">
|
|
<PageSection>
|
|
<PageSectionMeta>
|
|
<PageSectionSummary>
|
|
<PageSectionTitle>Section Title</PageSectionTitle>
|
|
</PageSectionSummary>
|
|
</PageSectionMeta>
|
|
<PageSectionContent>
|
|
<Card>
|
|
<CardContent className="p-6">
|
|
<p className="text-sm text-foreground-light">
|
|
PageSectionSummary should still be wrapped in PageSectionMeta, as the latter is a
|
|
flex container that will allow the former to span its full width.
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
</div>
|
|
)
|
|
}
|