fix(settings): Radio.Group 添加 optionType="button" 启用按钮渲染
This commit is contained in:
@@ -56,6 +56,7 @@ export function SettingsPage() {
|
||||
<Radio.Group
|
||||
buttonStyle="solid"
|
||||
onChange={(e) => handleThemeChange(parseThemePreference(e.target.value))}
|
||||
optionType="button"
|
||||
options={THEME_OPTIONS.map((o) => ({ label: o.label, value: o.value }))}
|
||||
value={preference}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user