docs: update custom icon example

This commit is contained in:
Daniel Lautzenheiser 2023-01-22 00:49:03 -05:00
parent c1860c072d
commit 970a9e4a13
No known key found for this signature in database
GPG Key ID: D2F75F7DD915527E

View File

@ -24,7 +24,7 @@ import { faHouse } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import CMS from '@staticcms/core';
CMS.registerIcon('house', <FontAwesomeIcon icon={faHouse} size="lg" />);
CMS.registerIcon('house', () => <FontAwesomeIcon icon={faHouse} size="lg" />);
```
## Usage