Interface: SettingItemProperties
Defined in: src/components/shared/SettingItem.tsx:14
Props for the SettingItem component
Extendsโ
Propertiesโ
children?โ
readonlyoptionalchildren:ReactNode
Defined in: shared/types/componentProps.ts:36
Component content (text, elements, or other components)
Inherited fromโ
CoreComponentProperties.children
className?โ
readonlyoptionalclassName:string
Defined in: shared/types/componentProps.ts:38
Additional CSS classes for styling customization
Inherited fromโ
CoreComponentProperties.className
controlโ
Defined in: src/components/shared/SettingItem.tsx:22
Control component (input, select, checkbox, etc.).
Remarksโ
A render callback is supported to avoid passing JSX as a prop in places where strict performance lint rules are enabled.
description?โ
readonlyoptionaldescription:string
Defined in: src/components/shared/SettingItem.tsx:24
Description of the setting
disabled?โ
readonlyoptionaldisabled:boolean
Defined in: src/components/shared/SettingItem.tsx:26
Whether the setting is disabled
Overridesโ
CoreComponentProperties.disabled
icon?โ
readonlyoptionalicon:ReactNode
Defined in: src/components/shared/SettingItem.tsx:28
Optional leading icon for the setting title
iconClassName?โ
readonlyoptionaliconClassName:string
Defined in: src/components/shared/SettingItem.tsx:33
Optional className forwarded to the icon element (e.g., settings accent colors).
iconComponent?โ
readonlyoptionaliconComponent:IconType
Defined in: src/components/shared/SettingItem.tsx:38
Preferred icon API: pass an IconType instead of JSX to avoid jsx-as-prop perf lint issues.
iconSize?โ
readonlyoptionaliconSize:number
Defined in: src/components/shared/SettingItem.tsx:40
Optional icon size (px). Defaults to 16.
titleโ
readonlytitle:string
Defined in: src/components/shared/SettingItem.tsx:42
Title of the setting