We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
html
1 parent 9e0aa44 commit 4ce3617Copy full SHA for 4ce3617
Sources/HTMLKit/HTMLKit.swift
@@ -15,7 +15,7 @@ public extension StaticString {
15
16
// MARK: Elements
17
@freestanding(expression)
18
-public macro html<T: ExpressibleByStringLiteral>(xmlns: T? = nil, _ innerHTML: [T]) -> T = #externalMacro(module: "HTMLKitMacros", type: "HTMLElement")
+public macro html<T: ExpressibleByStringLiteral>(attributes: [HTMLElementAttribute] = [], xmlns: T? = nil, _ innerHTML: [T]) -> T = #externalMacro(module: "HTMLKitMacros", type: "HTMLElement")
19
20
21
public macro custom<T: ExpressibleByStringLiteral>(tag: String, isVoid: Bool, attributes: [HTMLElementAttribute] = [], _ innerHTML: [T] = []) -> T = #externalMacro(module: "HTMLKitMacros", type: "HTMLElement")
0 commit comments