import React from "react";
import { storiesOf } from "@storybook/react";
import Story from "../../storybook-components/Story";
import { SimpleTable } from "./SimpleTable";
import { Truncate } from "../Truncate";
const stories = storiesOf("Components/Data/Simple Table", module);
const mappingsData = [
{
id: "A.12.4.3",
title: "Administrator and operator logs",
desc:
"System administrator and system operator activities shall be reviewed lorem ipsum dolor amet ramps irony synth tattooed flexitarian small batch. Slow-carb wolf tofu hell of organic occupy umami before they sold out literally.",
},
{
id: "A.18.2.1",
title: "Independent review of information security",
desc:
"The organization’s approach to managing information security charcoal polaroid before they sold out cred, disrupt shabby chic mumblecore jean shorts marfa snackwave. Wayfarers PBR&B bespoke, kinfolk plaid fashion axe actually.",
},
{
id: "9.3",
title: "Management review",
desc:
"Top management shall review the organization’s information prism cold-pressed, hell of poutine bicycle rights PBR&B lumbersexual brunch 8-bit raclette vinyl ethical dreamcatcher banh mi. Pitchfork cronut lo-fi street art.",
},
];
const nameData = [
{
name: "Chas Ballew",
bio:
"Before Aptible, Chas served on active duty in the Army for 4 years as a lawyer at the Pentagon, which is where he first learned regulatory law. Prior to that, Chas ran two small dev shops for beer money in high school and college. His dog's name is Dilla.",
},
{
name: "Frank Macreery",
bio:
"Prior to Aptible, Frank led engineering teams at Give Real, XGraph (acquired by Clearspring / AddThis), and Artsy. He holds a B.S.E. in Computer Science from Princeton University.",
},
];
stories
.add("No Head", () => (
ISO 27001:2013
{mappingsData.map((row) => {
return (
{row.id}
{row.title}
{row.desc}
);
})}
))
.add("With Head and wrapping text", () => (
Aptible Chiefs
Name
Bio
{nameData.map((row) => {
return (
{row.name}
{row.bio}
);
})}
));