wip(shared): Work on workbench views
This commit is contained in:
parent
cab7f5d2c5
commit
c53ff25053
25 changed files with 386 additions and 96 deletions
|
@ -0,0 +1,10 @@
|
|||
import { Difficulty } from 'shared/components/designs/difficulty.mjs'
|
||||
|
||||
const ListValue = ({ current, t, config, changed }) =>
|
||||
changed
|
||||
? t(`ui-settings:${config.valueTitles[current]}`)
|
||||
: t(`ui-settings:${config.valueTitles[config.dflt]}`)
|
||||
|
||||
export const RendererSettingValue = ListValue
|
||||
export const XRaysValue = ListValue
|
||||
export const ControlSettingValue = ({ control }) => <Difficulty score={control} />
|
Loading…
Add table
Add a link
Reference in a new issue