Last active
January 17, 2019 02:13
-
-
Save mattdaisley/45f730a022362a00729b716bb844331b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import ExpansionPanelDetails from 'ui/core/ExpansionPanel/ExpansionPanelDetails/ExpansionPanelDetails'; | |
import ExpansionPanelSummary from 'ui/core/ExpansionPanel/ExpansionPanelSummary/ExpansionPanelSummary'; | |
import ExpansionPanel from 'ui/core/ExpansionPanel/ExpansionPanel'; | |
export default class SimpleExpansionPanelDemo extends Component { | |
render() { | |
return ( | |
<React.Fragment> | |
<ExpansionPanel defaultOpen={true}> | |
<ExpansionPanelSummary>Expansion Panel 1</ExpansionPanelSummary> | |
<ExpansionPanelDetails> | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, | |
sit amet blandit leo lobortis eget. | |
</ExpansionPanelDetails> | |
</ExpansionPanel> | |
<ExpansionPanel> | |
<ExpansionPanelSummary>Expansion Panel 2</ExpansionPanelSummary> | |
<ExpansionPanelDetails> | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, | |
sit amet blandit leo lobortis eget. | |
</ExpansionPanelDetails> | |
</ExpansionPanel> | |
</React.Fragment> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment