From 27079d670da9ad3296e04ce39cd65194f3982012 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 30 Oct 2025 18:35:12 -0400 Subject: [PATCH] Update documentation for icon usage Changed icon prop documentation to reflect using icon objects instead of library.add(). --- client/docs/headings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/docs/headings.md b/client/docs/headings.md index dc40937a4df..e582e443a42 100644 --- a/client/docs/headings.md +++ b/client/docs/headings.md @@ -49,4 +49,4 @@ Following properties allow for further styling the component: - `bold` - makes a heading bold - `inline` - displays the heading inline - `separator` - draws a separating line, to better distinguish sections -- `icon="..."` - adds a font-awesome icon decoration to the left of the heading. Make sure to also load the icon with `library.add(...)`. +- `icon={iconObject}` - adds an icon to the left of the heading. Import from FontAwesome (`@fortawesome/free-solid-svg-icons`) or Galaxy icons (`@/components/icons/galaxyIcons`).