Skip to content

Conversation

@hannahtesfay
Copy link
Member

This PR adds Audio to the content-tree

interface Audio extends Node {
type: "audio"
src: string
title: string
Copy link
Contributor

@umbobabo umbobabo Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Move this before src. In other components the title is always the first field for clarity

### `Audio`

```ts
interface Audio extends Node {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Similarly to my PRs we should start documenting the fields with their purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants