@arche-mc2/arche-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
23 lines • 1.22 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var Panel_1 = require("../../Containers/Panel");
var stories_1 = require("../../../Common/stories");
var addon_knobs_1 = require("@storybook/addon-knobs");
var UpEntityView_1 = require("./UpEntityView");
exports.default = {
title: 'Components/Display/UpEntityView',
decorators: [addon_knobs_1.withKnobs, stories_1.getRootContainer('UpEntityView')],
component: UpEntityView_1.UpEntityView
};
exports.General = function () { return (React.createElement(Panel_1.default, { type: 'primary' },
"Example of using the entity view component.",
React.createElement(UpEntityView_1.default, { title: 'Informations', icon: 'cadhoc-check', informations: [
{ key: 'Code Client', value: 'CLT23232323' },
{ key: 'Raison sociale', value: 'Sté Dupond' },
{ key: 'Email utilisateur', value: 'jean.dupont@up.coop' },
{ key: 'Date de création', value: '18/02/2020' },
{ key: 'N° Commande', value: 'CMD1234567' },
{ key: 'Montant', value: '3456,46 €' }
] }))); };
//# sourceMappingURL=index.stories.js.map