setDefaultAppearance Method
setDefaultAppearance(txn, props) @beta
Set the appearance of the default SubCategory for this Category
setDefaultAppearance(txn: EditTxn, props: SubCategoryAppearance | SubCategoryAppearance.Props): void
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | |
| props | SubCategoryAppearance | SubCategoryAppearance.Props |
Returns - void
setDefaultAppearance(props)
Deprecated in 5.1.9 - will not be removed until after 2026-08-04. Use Category.setDefaultAppearance(txn, ...) instead.
Set the appearance of the default SubCategory for this Category
setDefaultAppearance(props: SubCategoryAppearance | SubCategoryAppearance.Props): void
| Parameter | Type | Description |
|---|---|---|
| props | SubCategoryAppearance | SubCategoryAppearance.Props |
Returns - void
Defined in
- backend/src/Category.ts Line 215
Last Updated: 05 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.