Add Static Color

This commit is contained in:
Srinath 2026-03-05 15:04:27 +05:30
parent e059a0e5b5
commit 4609d1a208
1 changed files with 7 additions and 7 deletions

View File

@ -1725,7 +1725,7 @@ const SelectionComponent = forwardRef((props, ref) => {
display: 'inline-block', display: 'inline-block',
width: 16, width: 16,
height: 16, height: 16,
backgroundColor: tableHeaderColor, backgroundColor: tableHeaderColor || '#ffffff',
border: '1px solid #000', border: '1px solid #000',
marginLeft: 6, marginLeft: 6,
verticalAlign: 'middle', verticalAlign: 'middle',
@ -1733,7 +1733,7 @@ const SelectionComponent = forwardRef((props, ref) => {
/> />
<span <span
style={{ style={{
display: 'inline-block', width: 16, height: 16, backgroundColor: tableHeaderFontColor, display: 'inline-block', width: 16, height: 16, backgroundColor: tableHeaderFontColor || '#000000',
border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle', border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle',
}} }}
/> />
@ -1758,7 +1758,7 @@ const SelectionComponent = forwardRef((props, ref) => {
display: 'inline-block', display: 'inline-block',
width: 16, width: 16,
height: 16, height: 16,
backgroundColor: tableBodyColor, backgroundColor: tableBodyColor || '#ffffff',
border: '1px solid #000', border: '1px solid #000',
marginLeft: 6, marginLeft: 6,
verticalAlign: 'middle', verticalAlign: 'middle',
@ -1766,7 +1766,7 @@ const SelectionComponent = forwardRef((props, ref) => {
/> />
<span <span
style={{ style={{
display: 'inline-block', width: 16, height: 16, backgroundColor: tableBodyFontColor, display: 'inline-block', width: 16, height: 16, backgroundColor: tableBodyFontColor || '#000000',
border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle', border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle',
}} }}
/> />
@ -1774,10 +1774,10 @@ const SelectionComponent = forwardRef((props, ref) => {
<span style={{ margin: '0px 10px' }} className="handleAddBTN"> <span style={{ margin: '0px 10px' }} className="handleAddBTN">
<Switch <Switch
checked={rowType === "even"} checked={rowType === "odd"}
checkedChildren="Even"
unCheckedChildren="Odd" unCheckedChildren="Odd"
onChange={(checked) => dispatch(changeRowType(checked ? "even" : "odd"))} checkedChildren="Even"
onChange={(checked) => dispatch(changeRowType(checked ? "odd" :"even" ))}
/> />
</span> </span>
</div> </div>