Import packages/plugin/src/client/fast-mode-switches.ts
This commit is contained in:
parent
dce71c917e
commit
e9ad2d336c
|
|
@ -82,11 +82,13 @@ export function createFastModeSwitches(React: ClientReact) {
|
|||
}) {
|
||||
return React.createElement('div', {
|
||||
className: props.className ?? 'dshRemoteFastModeSwitches',
|
||||
}, TOGGLE_ORDER.map(key => React.createElement(RemoteToggleSwitch, {
|
||||
key,
|
||||
control: props.control,
|
||||
t: props.t,
|
||||
configKey: key,
|
||||
})))
|
||||
},
|
||||
React.createElement('span', { className: 'dshRemoteFastModeGroupTitle' }, props.t('fastModeGroupTitle')),
|
||||
TOGGLE_ORDER.map(key => React.createElement(RemoteToggleSwitch, {
|
||||
key,
|
||||
control: props.control,
|
||||
t: props.t,
|
||||
configKey: key,
|
||||
})))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue