import type { Meta, StoryObj } from '@storybook/react';
const meta: Meta = {
title: 'Foundations/Typography/List',
parameters: {
docs: {
source: {
type: 'dynamic',
},
},
},
};
export default meta;
type Story = StoryObj;
const ListItems = ({ label }) => (
<>
{label} list item 1
{label} list item 2
>
);
const UnorderedList = () => (
);
const OrderedList = () => (
);
const BareList = () => (
);
export const AllLists: Story = {
render: () => (
<>
>
),
};
export const AllListsOnDark: Story = {
...AllLists,
parameters: {
onDark: true,
layout: 'fullscreen',
},
};