mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
16 lines
491 B
TypeScript
16 lines
491 B
TypeScript
import Image from 'next/image'
|
|
import { AspectRatio } from 'ui'
|
|
|
|
export default function AspectRatioDemo() {
|
|
return (
|
|
<AspectRatio ratio={16 / 9} className="bg-muted">
|
|
<Image
|
|
src="https://images.unsplash.com/photo-1560937526-61078e7eb7d8?q=80&w=3024&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
|
|
alt="Photo by Drew Beamer"
|
|
fill
|
|
className="rounded-md object-cover"
|
|
/>
|
|
</AspectRatio>
|
|
)
|
|
}
|