Skip to content

Commit

Permalink
HeaderDoc for TokenAttributeProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Sep 7, 2024
1 parent e3b0421 commit cea5996
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Neon/TextSystemInterface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public protocol TextSystemInterface {
var content: Content { get }
}

/// A function that translates a semantic `Token` into styling attributes.
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]

0 comments on commit cea5996

Please sign in to comment.