feat(site): generated multipart component api reference (#468)

This commit is contained in:
Darius Cepulis
2026-02-09 12:20:45 +11:00
committed by GitHub
parent 3c4152fb58
commit 4b1e863883
31 changed files with 1413 additions and 327 deletions
+33
View File
@@ -0,0 +1,33 @@
---
title: Time
frameworkTitle:
html: media-time
description: Components for displaying and composing media time information
---
import ApiReference from "@/components/docs/api-reference/ApiReference.astro";
import FrameworkCase from "@/components/docs/FrameworkCase.astro";
## Anatomy
<FrameworkCase frameworks={["react"]}>
```tsx
<Time.Group>
<Time.Value type="current" />
<Time.Separator />
<Time.Value type="duration" />
</Time.Group>
```
</FrameworkCase>
<FrameworkCase frameworks={["html"]}>
```html
<media-time-group>
<media-time type="current"></media-time>
<media-time-separator></media-time-separator>
<media-time type="duration"></media-time>
</media-time-group>
```
</FrameworkCase>
<ApiReference component="Time" />