@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.55 kB
JavaScript
;
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 react_1 = require("@storybook/react");
const ModalBody_Component_1 = __importDefault(require("../ModalBody.Component"));
const stories = react_1.storiesOf('ModalBody', module);
stories.add('ModalBody', () => {
return (React.createElement(ModalBody_Component_1.default, null, "Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running."));
});
stories.add('ModalBody taking text as a children prop', () => {
return (React.createElement(ModalBody_Component_1.default, null, "Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running."));
});
stories.add('ModalBody styling', () => {
return (React.createElement(ModalBody_Component_1.default, { style: { color: 'red' } }, "Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running."));
});
//# sourceMappingURL=ModalBody.stories.js.map