-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathexpansionPanelTransform.tsx
41 lines (39 loc) · 1.21 KB
/
expansionPanelTransform.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import React, { Component } from 'react';
import {
ExpansionPanel,
ExpansionPanelSummary,
Typography,
ExpansionPanelDetails,
Grid,
FormLabel,
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import CompositeProperty from '../CompositeProperty';
class ExpansionPanelTransform extends Component {
render() {
return (
<ExpansionPanel>
<ExpansionPanelSummary expandIcon={<ExpandMoreIcon />}>
<Typography>Transform</Typography>
</ExpansionPanelSummary>
<ExpansionPanelDetails>
<Grid container spacing={40}>
<Grid item xs={6}>
<FormLabel component="label">Scale</FormLabel>
<CompositeProperty configName="scale" />
</Grid>
<Grid item xs={6}>
<FormLabel component="label">Rotate</FormLabel>
<CompositeProperty configName="rotate" />
</Grid>
<Grid item xs={12}>
<FormLabel component="label">Alpha</FormLabel>
<CompositeProperty configName="alpha" />
</Grid>
</Grid>
</ExpansionPanelDetails>
</ExpansionPanel>
);
}
}
export default ExpansionPanelTransform;