Skip to content

Commit

Permalink
BASIRA #2 - Updating NestedAccordion to accept "styled" prop
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed May 21, 2021
1 parent 33500c0 commit f44a2a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/semantic-ui/NestedAccordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class NestedAccordion extends Component<Props, State> {
className='nested-accordion'
fluid
panels={_.map(this.props.rootItems, this.renderPanel.bind(this))}
styled
styled={props.styled}
/>
);
}
Expand Down Expand Up @@ -184,7 +184,8 @@ class NestedAccordion extends Component<Props, State> {

NestedAccordion.defaultProps = {
onItemClick: () => {},
renderRight: () => {}
renderRight: () => {},
styled: true
};

export default NestedAccordion;

0 comments on commit f44a2a6

Please sign in to comment.