Skip to content

Instantly share code, notes, and snippets.

View mattdaisley's full-sized avatar

Matt Daisley mattdaisley

View GitHub Profile
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}>
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 ControlledExpansionPanel extends Component {
state = {
expanded: null,
};
import ExpansionPanel from 'ui/core/ExpansionPanel/ExpansionPanel';
{
"Title": "Sonnenalp Newsletter",
"Sections": [
{
"Id": 1,
"Order": 1,
"Settings": {
"Width": 600,
"Align": {
"Inherit": false,