Skip to content

Instantly share code, notes, and snippets.

@laevandus
Created May 15, 2022 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laevandus/8e215a7edb6dbcb4f81ba1525b387b82 to your computer and use it in GitHub Desktop.
Save laevandus/8e215a7edb6dbcb4f81ba1525b387b82 to your computer and use it in GitHub Desktop.
struct LibraryContent: LibraryContentProvider {
var views: [LibraryItem] {
return [
LibraryItem(SubtitledButton(title: "Title",
subtitle: "Subtitle",
action: {}),
title: "SubtitledButton",
category: .control)
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment