UNPKG

@blueeast/bluerain-plugin-material-ui

Version:

Adds [Material UI](http://www.material-ui.com/#/) theme Provider to BlueRain. Components of material-ui have been developed using a common interface. [https://blueeast.gitbook.io/bluerain-plugin-material-ui](https://blueeast.gitbook.io/bluerain-plugin-mat

26 lines 1.54 kB
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const React = __importStar(require("react")); const __1 = require("../"); const react_1 = require("@storybook/react"); const Typography_1 = __importDefault(require("@material-ui/core/Typography")); const ExpandMore_1 = __importDefault(require("@material-ui/icons/ExpandMore")); const stories = react_1.storiesOf('ExpansionPanelComponent', module); stories.add('with all props', () => { return (React.createElement(React.Fragment, null, React.createElement(__1.ExpansionPanelComponent, { collapsed: false, title: 'brand', expandIcon: React.createElement(ExpandMore_1.default, null) }, React.createElement(Typography_1.default, null, "Here will be the render list component")), React.createElement(__1.ExpansionPanelComponent, { title: 'brand', defaultExpanded: true, collapsed: true, expandIcon: React.createElement(ExpandMore_1.default, null) }, React.createElement(Typography_1.default, null, "Here will be the render list component")))); }); //# sourceMappingURL=ExpansionPanel.stories.js.map