-
Notifications
You must be signed in to change notification settings - Fork 712
/
SettingsExportMode.jsx
81 lines (74 loc) · 2.29 KB
/
SettingsExportMode.jsx
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import React from 'react'
import {connect} from 'react-redux'
import { StyleSheet, css } from 'aphrodite'
// import SettingsCollapsableItem from './collapsable/SettingsCollapsableItem'
import SettingsBanner from './SettingsBanner'
import SettingsStandard from './SettingsExportModeStandard'
import SettingsAVD from './SettingsExportModeAVD'
import SettingsFlare from './SettingsExportModeFlare'
import SettingsDemo from './SettingsExportModeDemo'
import SettingsStandalone from './SettingsExportModeStandalone'
import ExportModes from '../../helpers/ExportModes'
import Variables from '../../helpers/styles/variables'
const styles = StyleSheet.create({
wrapper: {
width: '100%',
padding: '10px',
},
wrapperContainer: {
width: '100%',
border: '1px solid #555',
backgroundColor: Variables.colors.gray_darkest,
padding: '10px',
},
title: {
width: '100%',
fontSize: '14px',
paddingBottom: '4px',
},
modes: {
padding: '0 0 0 10px',
},
modeItem: {
paddingTop: '10px',
},
})
class SettingsExportMode extends React.PureComponent {
descriptions = {
[ExportModes.STANDARD]: 'Exports animation as a json file',
[ExportModes.STANDALONE]: 'Exports animation and player bundled in a single file',
[ExportModes.BANNER]: 'Exports a bundle of files for banner usage',
}
getDescription() {
}
render(){
return (
<div className={css(styles.wrapper)}>
<div className={css(styles.wrapperContainer)}>
<div className={css(styles.title)}>Export Modes</div>
<div className={css(styles.modes)}>
<div className={css(styles.modeItem)}>
<SettingsStandard />
</div>
<div className={css(styles.modeItem)}>
<SettingsDemo />
</div>
<div className={css(styles.modeItem)}>
<SettingsFlare />
</div>
<div className={css(styles.modeItem)}>
<SettingsStandalone />
</div>
<div className={css(styles.modeItem)}>
<SettingsBanner />
</div>
<div className={css(styles.modeItem)}>
<SettingsAVD />
</div>
</div>
</div>
</div>
)
}
}
export default SettingsExportMode