mirror of
https://github.com/iconify/iconify.git
synced 2025-01-12 01:45:41 +00:00
Add hidden field to IconifyOptional interface
This commit is contained in:
parent
c6148060aa
commit
618dba0c13
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@iconify/types",
|
||||
"description": "Types for Iconify data",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"author": "Vjacheslav Trushkin",
|
||||
"license": "(Apache-2.0 OR GPL-2.0)",
|
||||
"main": "./index.js",
|
||||
|
@ -53,7 +53,12 @@ export interface IconifyTransformations {
|
||||
*/
|
||||
export interface IconifyOptional
|
||||
extends IconifyDimenisons,
|
||||
IconifyTransformations {}
|
||||
IconifyTransformations {
|
||||
// True if icon is hidden.
|
||||
// Used in icon sets to keep icons that no longer exist, but should still be accessible
|
||||
// from API, preventing websites from breaking when icon is removed by developer.
|
||||
hidden?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Alias.
|
||||
|
Loading…
Reference in New Issue
Block a user