@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
21 lines • 1.21 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 UpVerticalTimeline_1 = require("./UpVerticalTimeline");
exports.default = {
title: 'Components/Display/UpVerticalTimeline',
decorators: [addon_knobs_1.withKnobs, stories_1.getRootContainer('UpVerticalTimeline')],
component: UpVerticalTimeline_1.UpVerticalTimeline
};
exports.General = function () { return (React.createElement(Panel_1.default, { type: 'primary' },
"Exemple d'utilisation du composant vertical timeline.",
React.createElement(UpVerticalTimeline_1.default, { title: 'Suivi de commandes', timeline: [
{ status: 'Livrée', date: 'Le 18/02/2020 à 12h12', isAchieved: true },
{ status: 'Expédié', date: 'Le 18/02/2020 à 12h12', isAchieved: true },
{ status: 'Traitement en cours', date: 'Le 18/02/2020 à 12h12', isAchieved: true },
{ status: 'Payée', isAchieved: false },
] }))); };
//# sourceMappingURL=index.stories.js.map