Skip to content

Commit 08d1e1b

Browse files
committed
feat: refine and extend icon arguments
1 parent aae5665 commit 08d1e1b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

data/structures/_arguments.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,12 +621,20 @@ arguments:
621621
comment: >-
622622
Unique identifier of the current element.
623623
icon:
624-
type: string
624+
type:
625+
- string
626+
- uint64
625627
optional: true
626628
comment: >-
627629
Icon to include. You can use shorthand notation such as `fas sort` to
628630
include a Font Awesome icon. The argument also supports files with an
629631
`.svg` or `.json` extension.
632+
icon-class:
633+
type: string
634+
optional: true
635+
comment: >-
636+
Class attributes of the icon. Use these to add modifiers such as `fa-2x`
637+
and `fa-flip-horizontal`.
630638
icon-rounded:
631639
type: bool
632640
optional: true

0 commit comments

Comments
 (0)