Interface: SettingItemProperties
Defined in: src/components/shared/SettingItem.tsx:16
Props for the SettingItem component
Hierarchyโ
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:24
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:26
Description of the setting
disabled?โ
readonlyoptionaldisabled?:boolean
Defined in: src/components/shared/SettingItem.tsx:28
Whether the setting is disabled
Overridesโ
CoreComponentProperties.disabled
icon?โ
readonlyoptionalicon?:ReactNode
Defined in: src/components/shared/SettingItem.tsx:30
Optional leading icon for the setting title
iconClassName?โ
readonlyoptionaliconClassName?:string
Defined in: src/components/shared/SettingItem.tsx:35
Optional className forwarded to the icon element (e.g., settings accent colors).
iconComponent?โ
readonlyoptionaliconComponent?:IconType
Defined in: src/components/shared/SettingItem.tsx:40
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:42
Optional icon size (px). Defaults to 16.
titleโ
readonlytitle:string
Defined in: src/components/shared/SettingItem.tsx:44
Title of the setting