Add a link to the icon list.

I had to ask in Discord for this link, this will help people looking for icons in the future.
This commit is contained in:
Dimitar Dimitrov 2023-06-09 13:27:35 -04:00 committed by GitHub
parent 2aee08d3d5
commit 417b94ed6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ export default class MyPlugin extends Plugin {
await this.loadSettings();
// This creates an icon in the left ribbon.
// Most icons from https://lucide.dev/icons/ can be used.
const ribbonIconEl = this.addRibbonIcon('dice', 'Sample Plugin', (evt: MouseEvent) => {
// Called when the user clicks the icon.
new Notice('This is a notice!');