mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
idk whos code that was
This commit is contained in:
parent
50811e4eac
commit
2704906a0b
@ -161,7 +161,7 @@ export const FloorplanOptionsView: FC<{}> = props =>
|
|||||||
step={ 1 }
|
step={ 1 }
|
||||||
value={ floorHeight }
|
value={ floorHeight }
|
||||||
onChange={ event => onFloorHeightChange(event) }
|
onChange={ event => onFloorHeightChange(event) }
|
||||||
renderThumb={ ({ style, ...rest }, state) => <div style={ { backgroundColor: `#${Object.entries(COLORMAP)[state.valueNow + 1][1]}`, ...style } } { ...rest }>{ state.valueNow }</div> } />
|
renderThumb={ ({ style, ...rest }, state) => <div style={ { backgroundColor: `#${COLORMAP[state.valueNow.toString(33)]}`, ...style } } { ...rest }>{ state.valueNow }</div> } />
|
||||||
</NitroLayoutFlexColumn>
|
</NitroLayoutFlexColumn>
|
||||||
</NitroLayoutGridColumn>
|
</NitroLayoutGridColumn>
|
||||||
<NitroLayoutGridColumn size={5}>
|
<NitroLayoutGridColumn size={5}>
|
||||||
|
Loading…
Reference in New Issue
Block a user