Skip to content

Commit 325e004

Browse files
committed
updated file structure to exlcude unneccessary files
1 parent 6083c10 commit 325e004

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

app/src/components/left/ComponentDrag.tsx

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ import makeStyles from '@mui/styles/makeStyles';
55
import { useSelector } from 'react-redux';
66
import ComponentPanelItem from '../right/ComponentPanelItem';
77

8-
98
const useStyles = makeStyles({
109
panelWrapper: {
1110
display: 'flex',
1211
flexDirection: 'column',
1312
alignItems: 'center',
1413
flexGrow: 1,
15-
overflow: 'auto',
14+
overflow: 'auto'
1615
},
1716
panelWrapperList: {
1817
minHeight: 'auto'
@@ -29,7 +28,6 @@ const ComponentDrag = ({ isVisible, isThemeLight }): JSX.Element | null => {
2928
const classes = useStyles();
3029
const state = useSelector((store: RootState) => store.appState);
3130

32-
3331
const isFocus = (targetId: Number) => {
3432
return state.canvasFocus.componentId === targetId ? true : false;
3533
};
@@ -71,20 +69,3 @@ const ComponentDrag = ({ isVisible, isThemeLight }): JSX.Element | null => {
7169
};
7270

7371
export default ComponentDrag;
74-
75-
76-
const propsArray4 = [
77-
{ Name: "align",
78-
Type: "'center' | 'inherit' | 'justify' | 'left' | 'right'",
79-
Default: "'inherit'",
80-
Description: "Set the text-align on the component." },
81-
{ Name: "children", Type: "node" },
82-
{ Name: "classes", Type: "object" },
83-
{ Name: "component", Type: "elementType", Description: "The component used for the root node." },
84-
{ Name: "gutterBottom", Type: "bool", Default: "false", Description: "If true, the text will have a bottom margin." },
85-
{ Name: "noWrap", Type: "bool", Default: "false", Description: "If true, the text will not wrap, but instead will truncate with a text overflow ellipsis." },
86-
{ Name: "paragraph", Type: "bool", Default: "false", Description: "If true, the element will be a paragraph element." },
87-
{ Name: "sx", Type: "Array<func | object | bool> | func | object" },
88-
{ Name: "variant", Type: "'body1' | 'body2' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit' | 'overline' | 'subtitle1' | 'subtitle2' | string", Default: "'body1'", Description: "Applies the theme typography styles." },
89-
{ Name: "variantMapping", Type: "object", Default: "{ h1: 'h1', h2: 'h2', h3: 'h3', h4: 'h4', h5: 'h5', h6: 'h6', subtitle1: 'h6', subtitle2: 'h6', body1: 'p', body2: 'p', inherit: 'p' }", Description: "The component maps the variant prop to a range of different HTML element types." }
90-
];

0 commit comments

Comments
 (0)