Skip to content

Commit 5a67b07

Browse files
committed
Added focus expansion to reveal state/class toggles
1 parent 60a0c49 commit 5a67b07

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/LeftColExpansionPanel.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ import InputLabel from '@material-ui/core/InputLabel'; // labeling of state/clas
1515

1616
// import { ComponentInt, ComponentsInt, ChildInt } from '../utils/Interfaces'; // unused
1717

18+
interface TypographyProps {
19+
type: string;
20+
}
21+
1822
// TODO: ASSIGN SPECIFIC TYPING TO INCOMING PROPS (REMOVE ANY)
1923
const LeftColExpansionPanel = (props: any) => {
2024
const {
@@ -56,10 +60,11 @@ const LeftColExpansionPanel = (props: any) => {
5660
focusedToggle ? { boxShadow: '4px 4px 4px rgba(0, 0, 0, .4)' } : {}
5761
}
5862
>
63+
{/* NOT SURE WHY COLOR: RED IS USED, TRIED REMOVING IT AND NO VISIBLE CHANGE OCCURED */}
5964
<Grid item xs={12} style={{ color: 'red', backgroundColor: color }}>
6065
<List style={{ color: 'red' }}>
6166
<ListItem
62-
button
67+
// button // commented out to disable materialUI hover shading effect. TBD if any adverse effects occur
6368
style={{ color: 'red' }}
6469
onClick={() => {
6570
changeFocusComponent({ title });
@@ -184,7 +189,7 @@ const LeftColExpansionPanel = (props: any) => {
184189
}}
185190
>
186191
<DeleteIcon style={{ color: '#D3D3D3' }} />
187-
Delete Component
192+
<span style={{ marginTop: '3px' }}>Delete Component</span>
188193
</Button>
189194
</Fragment>
190195
)}

0 commit comments

Comments
 (0)