import { Canvas, Meta, Story, ArgsTable } from "@storybook/addon-docs";
import {
Examples,
Example,
Note,
Title,
CustomArgsTable,
VariantsTable,
VariantRow,
} from "@calcom/storybook/components";
import { List, ListItem, ListItemTitle, ListItemText } from "./List";
export const listItems = [
{ title: "Title 1", description: "Description 1" },
{ title: "Title 2", description: "Description 2" },
{ title: "Title 3", description: "Description 3" },
];
## Definition
The List component is used to render an unordered list with default styling
## Structure
List takes an array of objects to display a list in the UI
### List
### ListItem
{listItems.map((item) => (
{item.title}
{item.description}
))}
{listItems.map((item) => (
{item.title}
{item.description}
))}
{listItems.map((item) => (
{item.title}
{item.description}
))}