diff --git a/src/basic/Accordion.js b/src/basic/Accordion.js index da5449984..148c80e49 100644 --- a/src/basic/Accordion.js +++ b/src/basic/Accordion.js @@ -23,7 +23,6 @@ const styles = StyleSheet.create({ class DefaultHeader extends React.Component { render() { const { - disable, expanded, expandedIcon, expandedIconStyle, @@ -42,10 +41,7 @@ class DefaultHeader extends React.Component { headerStyle || { backgroundColor: variables.headerStyle } ]} > - - {' '} - {title} - + {title} { onAccordionOpen && !expanded && onAccordionOpen(item, index); onAccordionClose && expanded && onAccordionClose(item, index); @@ -142,7 +135,7 @@ class AccordionItem extends React.Component { renderHeader(item, expanded, index) ) : ( String(index)} renderItem={({ item, index }) => ( this.setSelected(i)} /> )} {...this.props} diff --git a/src/theme/variables/commonColor.js b/src/theme/variables/commonColor.js index 2eda3e197..72a69de37 100644 --- a/src/theme/variables/commonColor.js +++ b/src/theme/variables/commonColor.js @@ -31,7 +31,6 @@ export default { contentStyle: '#f5f4f5', expandedIconStyle: '#000', accordionBorderColor: '#d3d3d3', - disableRow: '#a9a9a9', // ActionSheet elevation: 4, diff --git a/src/theme/variables/material.js b/src/theme/variables/material.js index 51abd3ee1..cf0916216 100644 --- a/src/theme/variables/material.js +++ b/src/theme/variables/material.js @@ -26,7 +26,6 @@ export default { contentStyle: '#f5f4f5', expandedIconStyle: '#000', accordionBorderColor: '#d3d3d3', - disableRow: '#a9a9a9', // ActionSheet elevation: 4, @@ -181,10 +180,14 @@ export default { toolbarDefaultBorder: '#3F51B5', iosStatusbar: 'light-content', get statusBarColor() { - return color(this.toolbarDefaultBg).darken(0.2).hex(); + return color(this.toolbarDefaultBg) + .darken(0.2) + .hex(); }, get darkenHeader() { - return color(this.tabBgColor).darken(0.03).hex(); + return color(this.tabBgColor) + .darken(0.03) + .hex(); }, // Icon @@ -289,13 +292,13 @@ export default { topInset: 24, leftInset: 0, rightInset: 0, - bottomInset: 34, + bottomInset: 34 }, landscape: { topInset: 0, leftInset: 44, rightInset: 44, - bottomInset: 21, - }, - }, + bottomInset: 21 + } + } }; diff --git a/src/theme/variables/platform.js b/src/theme/variables/platform.js index 9c6d8ee10..15dce382d 100644 --- a/src/theme/variables/platform.js +++ b/src/theme/variables/platform.js @@ -28,7 +28,6 @@ export default { expandedIconStyle: '#000', headerStyle: '#edebed', iconStyle: '#000', - disableRow: '#a9a9a9', // ActionSheet elevation: 4,