Search Docs
Loading...
Skip to content

Type Alias: AssetStylePresetKeptProperty

type AssetStylePresetKeptProperty =
| "text"
| "typeface"
| "fontSize"
| "path"
| "case"
| "text/path"
| "text/case"
| BoolPropertyName
| IntPropertyName
| FloatPropertyName
| DoublePropertyName
| StringPropertyName
| EnumPropertyName
| ColorPropertyName;

A property a style preset can keep on a block it restyles (see AssetStylePreset.keepExisting): a property path as in AssetStylePreset.properties or AssetStylePreset.scaleWithFontSize, or 'typeface' for the font. A path without a / is namespaced to the block (text/ or caption/).