diff --git a/src/semantic-ui/NestedAccordion.js b/src/semantic-ui/NestedAccordion.js index 9dab14e2..32c053ab 100644 --- a/src/semantic-ui/NestedAccordion.js +++ b/src/semantic-ui/NestedAccordion.js @@ -16,7 +16,8 @@ type Props = { renderItem: (item: any) => string | Component<{}>, renderRight?: (item: any) => string | Component<{}>, rootItems: Array, - showToggle: (item: any) => boolean + showToggle: (item: any) => boolean, + styled: boolean }; type State = { @@ -71,7 +72,7 @@ class NestedAccordion extends Component { className='nested-accordion' fluid panels={_.map(this.props.rootItems, this.renderPanel.bind(this))} - styled={props.styled} + styled={this.props.styled} /> ); }