Skip to content

Implement main HTML element for Slipstream#225

Closed
jverkoey wants to merge 1 commit into
mainfrom
claude/implement-main-element-011CUpnVD1iAQJxPVg7MEiVo
Closed

Implement main HTML element for Slipstream#225
jverkoey wants to merge 1 commit into
mainfrom
claude/implement-main-element-011CUpnVD1iAQJxPVg7MEiVo

Conversation

@jverkoey

@jverkoey jverkoey commented Nov 5, 2025

Copy link
Copy Markdown
Collaborator

Enhances the existing DocumentMain element with:

  • Main typealias for more SwiftUI-idiomatic usage
  • String convenience initializer matching recent element patterns
  • Comprehensive tests for both DocumentMain and Main
  • Updated documentation to reflect both naming options

The typealias makes the documentation example work correctly and provides a simpler, more familiar API for SwiftUI developers.

Part of #25

Enhances the existing DocumentMain element with:
- Main typealias for more SwiftUI-idiomatic usage
- String convenience initializer matching recent element patterns
- Comprehensive tests for both DocumentMain and Main
- Updated documentation to reflect both naming options

The typealias makes the documentation example work correctly
and provides a simpler, more familiar API for SwiftUI developers.
@jverkoey jverkoey closed this Nov 5, 2025
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.

2 participants