Update README.md

Renamed iconography to icon
This commit is contained in:
PanchamiShenoy 2022-09-29 11:02:57 +05:30
parent 14cf071be2
commit f35b9003fe
1 changed files with 6 additions and 6 deletions

View File

@ -4,14 +4,14 @@ A standalone catalog viewer package that intelligently displays design component
### Sample code to display built-in components
A user can use built-in components like Iconography Category, Font Category, and Color Category to display icons, fonts, and colors respectively.
A user can use built-in components like Icon Category, Font Category, and Color Category to display icons, fonts, and colors respectively.
For example, a user can create an iconography category as follows:
For example, a user can create an icon category as follows:
```
enum IconographySample {
static var media: IconographyCategory {
IconographyCategory(
enum IconSample {
static var media: IconCategory {
IconCategory(
name: "Media",
models: [
.init(
@ -101,7 +101,7 @@ We can create a category which contains other categories.
name: "Foundational",
subcategories: [
ColorSample.category,
IconographySample.category,
IconSample.category,
FontSample.category
]
)